Version 14.82.1

This commit is contained in:
Antonio Cañas Vargas 2015-03-10 14:37:45 +01:00
parent 101b00d93f
commit fd91923c56
5 changed files with 21 additions and 10 deletions

BIN
icon/diaspora16x16.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 B

BIN
icon/quitter16x16.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

View File

@ -103,11 +103,15 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.82 (2015/03/10)"
#define Log_PLATFORM_VERSION "SWAD 14.82.1 (2015/03/10)"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h | tail -1
/*
Version 14.82.1: Mar 10, 2015 Added new social networks. (179908 lines)
1 change necessary in database:
ALTER TABLE usr_webs CHANGE Web Web ENUM('www','500px','delicious','deviantart','diaspora','edmodo','facebook','flickr','foursquare','github','googleplus','googlescholar','instagram','linkedin','paperli','pinterest','quitter','researchgate','scoopit','slideshare','storify','tumblr','twitter','wikipedia','youtube') NOT NULL;
Version 14.82: Mar 10, 2015 New database table usr_figures. (179898 lines)
1 change necessary in database:
CREATE TABLE IF NOT EXISTS usr_figures (UsrCod INT NOT NULL,FirstClickTime DATETIME NOT NULL,NumClicks INT NOT NULL DEFAULT 0,PRIMARY KEY(UsrCod));

View File

@ -2420,13 +2420,13 @@ mysql> DESCRIBE usr_nicknames;
/***** Table usr_webs *****/
/*
mysql> DESCRIBE usr_webs;
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| Web | enum('www','500px','delicious','deviantart','edmodo','facebook','flickr','foursquare','github','googleplus','googlescholar','instagram','linkedin','paperli','pinterest','researchgate','scoopit','slideshare','storify','tumblr','twitter','wikipedia','youtube') | NO | PRI | NULL | |
| URL | varchar(255) | NO | | NULL | |
+--------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
| UsrCod | int(11) | NO | PRI | NULL | |
| Web | enum('www','500px','delicious','deviantart','diaspora','edmodo','facebook','flickr','foursquare','github','googleplus','googlescholar','instagram','linkedin','paperli','pinterest','quitter','researchgate','scoopit','slideshare','storify','tumblr','twitter','wikipedia','youtube') | NO | PRI | NULL | |
| URL | varchar(255) | NO | | NULL | |
+--------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+------+-----+---------+-------+
3 rows in set (0.00 sec)
*/
DB_CreateTable ("CREATE TABLE IF NOT EXISTS usr_webs ("
@ -2434,13 +2434,14 @@ mysql> DESCRIBE usr_webs;
"Web ENUM("
"'www',"
"'500px',"
"'delicious','deviantart',"
"'delicious','deviantart','diaspora',"
"'edmodo',"
"'facebook','flickr','foursquare',"
"'github','googleplus','googlescholar',"
"'instagram',"
"'linkedin',"
"'paperli','pinterest',"
"'quitter',"
"'researchgate',"
"'scoopit','slideshare','storify',"
"'tumblr','twitter',"

View File

@ -42,13 +42,14 @@ extern struct Globals Gbl;
/***************************** Private constants *****************************/
/*****************************************************************************/
#define Net_NUM_WEBS_AND_SOCIAL_NETWORKS 23
#define Net_NUM_WEBS_AND_SOCIAL_NETWORKS 25
typedef enum
{
Net_WWW, // Personal web page
Net_500PX,
Net_DELICIOUS,
Net_DEVIANTART,
Net_DIASPORA,
Net_EDMODO,
Net_FACEBOOK,
Net_FLICKR,
@ -60,6 +61,7 @@ typedef enum
Net_LINKEDIN,
Net_PAPERLI,
Net_PINTEREST,
Net_QUITTER,
Net_RESEARCH_GATE,
Net_SCOOPIT,
Net_SLIDESHARE,
@ -76,6 +78,7 @@ const char *Net_WebsAndSocialNetworksDB[Net_NUM_WEBS_AND_SOCIAL_NETWORKS] =
"500px", // Net_500PX
"delicious", // Net_DELICIOUS
"deviantart", // Net_DEVIANTART
"diaspora", // Net_DIASPORA
"edmodo", // Net_EDMODO
"facebook", // Net_FACEBOOK
"flickr", // Net_FLICKR
@ -87,6 +90,7 @@ const char *Net_WebsAndSocialNetworksDB[Net_NUM_WEBS_AND_SOCIAL_NETWORKS] =
"linkedin", // Net_LINKEDIN
"paperli", // Net_PAPERLI
"pinterest", // Net_PINTEREST
"quitter", // Net_QUITTER
"researchgate", // Net_RESEARCH_GATE
"scoopit", // Net_SCOOPIT
"slideshare", // Net_SLIDESHARE
@ -103,6 +107,7 @@ const char *Net_TitleWebsAndSocialNetworks[Net_NUM_WEBS_AND_SOCIAL_NETWORKS] =
"500px", // Net_500PX
"Delicious", // Net_DELICIOUS
"DeviantArt", // Net_DEVIANTART
"Diaspora", // Net_DIASPORA
"Edmodo", // Net_EDMODO
"Facebook", // Net_FACEBOOK
"Flickr", // Net_FLICKR
@ -114,6 +119,7 @@ const char *Net_TitleWebsAndSocialNetworks[Net_NUM_WEBS_AND_SOCIAL_NETWORKS] =
"LinkedIn", // Net_LINKEDIN
"Paper.li", // Net_PAPERLI
"Pinterest", // Net_PINTEREST
"quitter", // Net_QUITTER
"Research Gate", // Net_RESEARCH_GATE
"Scoop.it", // Net_SCOOPIT
"Slideshare", // Net_SLIDESHARE