From 7758759ed9b2b60e7fc1f67079a31a4548aa5082 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?=
+ jstz,
+ available in https://bitbucket.org/pellepim/jstimezonedetect/
+ or http://pellepim.bitbucket.org/jstz/,
+ is a Javascript script used by SWAD to get the user's time zone.
+ For example, if the user's operating system is configured with local time of Madrid (Spain),
+ the script
+ The script
+ To install it, you must copy the directory
- Last update: April 04, 2015
+ Last update: October 20, 2015
@@ -650,6 +652,33 @@
+
+ 1 change necessary in database:
+
+RENAME TABLE log TO log_full;
+
+
+ 6 optional slow changes in database (may spend many minutes or even hours depending on the size of log tables):
+
+UPDATE log_recent,degrees SET log_recent.CtrCod=degrees.CtrCod WHERE log_recent.DegCod=degrees.DegCod;
+
+UPDATE log_recent,centres SET log_recent.InsCod=centres.InsCod WHERE log_recent.CtrCod=centres.CtrCod;
+UPDATE log_recent,institutions SET log_recent.CtyCod=institutions.CtyCod WHERE log_recent.InsCod=institutions.InsCod;
+UPDATE log,degrees SET log.CtrCod=degrees.CtrCod WHERE log.DegCod=degrees.DegCod;
+UPDATE log,centres SET log.InsCod=centres.InsCod WHERE log.CtrCod=centres.CtrCod;
+UPDATE log,institutions SET log.CtyCod=institutions.CtyCod WHERE log.InsCod=institutions.InsCod;
+
+ New statistics distributed by country, institution and centre. (186282 lines)
+
+ 2 slow changes necessary in database (may spend many minutes or even hours depending on the size of log tables):
+
+ALTER TABLE log_recent ADD COLUMN CtyCod INT NOT NULL DEFAULT -1 AFTER ActCod,ADD INDEX (CtyCod),ADD COLUMN InsCod INT NOT NULL DEFAULT -1 AFTER CtyCod,ADD INDEX (InsCod),ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod,ADD INDEX (CtrCod);
+
+ALTER TABLE log ADD COLUMN CtyCod INT NOT NULL DEFAULT -1 AFTER ActCod,ADD INDEX (CtyCod),ADD COLUMN InsCod INT NOT NULL DEFAULT -1 AFTER CtyCod,ADD INDEX (InsCod),ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod,ADD INDEX (CtrCod);
+
+ New MIME type, suggested by Javier Fdez. Baldomero.
+ Some code refactoring related to nicknames. (185639 lines)
+
+ 1 change necessary in Makefile:
+
+Add swad_help.o to list of object files
+
+
+ Folder owners are not displayed. (185022 lines)
+
+ Changes in layout of students record cards in course. (184962 lines)
+
+ Changes in listing of connected users. (184885 lines)
+
+ Change in styles and layout related to users. (184877 lines)
+
+ 4 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='82';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1467','es','N','Cambiar contraseña otro usuario');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1468','es','N','Cambiar contraseña estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1469','es','N','Cambiar contraseña profesor');
+
+ 4 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='598';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1464','es','N','Solicitar cambio contraseña otro usuario');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1465','es','N','Solicitar cambio contraseña estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1466','es','N','Solicitar cambio contraseña profesor');
+
+ 3 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='58';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1462','es','N','Eliminar estudiante asignatura');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1463','es','N','Eliminar profesor asignatura');
+
+ Changes in notifications about enrollment. (184823 lines)
+ 25 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='592';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1456','es','N','Solicitar acept. inscrip. estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1457','es','N','Solicitar acept. inscrip. profesor');
+UPDATE actions SET Obsolete='Y' WHERE ActCod='558';
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1458','es','N','Aceptar inscrip. como estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1459','es','N','Aceptar inscrip. como profesor');
+UPDATE actions SET Obsolete='Y' WHERE ActCod='559';
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1460','es','N','Rechazar inscrip. como estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1461','es','N','Rechazar inscrip. como profesor');
+UPDATE notif SET NotifyEvent=14 WHERE NotifyEvent=13;
+UPDATE notif SET NotifyEvent=13 WHERE NotifyEvent=12;
+UPDATE notif SET NotifyEvent=12 WHERE NotifyEvent=11;
+UPDATE notif SET NotifyEvent=11 WHERE NotifyEvent=10;
+UPDATE notif SET NotifyEvent=10 WHERE NotifyEvent=9;
+UPDATE notif SET NotifyEvent=9 WHERE NotifyEvent=8;
+UPDATE notif SET NotifyEvent=8 WHERE NotifyEvent=7;
+UPDATE sta_notif SET NotifyEvent=14 WHERE NotifyEvent=13;
+UPDATE sta_notif SET NotifyEvent=13 WHERE NotifyEvent=12;
+UPDATE sta_notif SET NotifyEvent=12 WHERE NotifyEvent=11;
+UPDATE sta_notif SET NotifyEvent=11 WHERE NotifyEvent=10;
+UPDATE sta_notif SET NotifyEvent=10 WHERE NotifyEvent=9;
+UPDATE sta_notif SET NotifyEvent=9 WHERE NotifyEvent=8;
+UPDATE sta_notif SET NotifyEvent=8 WHERE NotifyEvent=7;
+UPDATE usr_data SET NotifNtfEvents=(((NotifNtfEvents & ~0x7F) << 1) | (NotifNtfEvents & 0x7F) | 0x80);
+UPDATE usr_data SET EmailNtfEvents=(((EmailNtfEvents & ~0x7F) << 1) | (EmailNtfEvents & 0x7F));
+
+ 1 change necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod IN ('1417','1421','1425');
+
+
+ 12 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='1239';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1447','es','N','Solicitar edición ID invitado');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1448','es','N','Solicitar edición ID estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1449','es','N','Solicitar edición ID profesor');
+UPDATE actions SET Obsolete='Y' WHERE ActCod='1240';
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1450','es','N','Eliminar ID invitado');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1451','es','N','Eliminar ID estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1452','es','N','Eliminar ID profesor');
+UPDATE actions SET Obsolete='Y' WHERE ActCod='1241';
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1453','es','N','Crear ID invitado');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1454','es','N','Crear ID estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1455','es','N','Crear ID profesor');
+
+ 4 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='440';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1444','es','N','Crear invitado');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1445','es','N','Crear usuario como estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1446','es','N','Crear usuario como profesor');
+
+ 4 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='429';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1441','es','N','Eliminar foto otro usr.');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1442','es','N','Eliminar foto estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1443','es','N','Eliminar foto profesor');
+
+ 4 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='374';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1438','es','N','Cambiar foto otro usr.');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1439','es','N','Cambiar foto estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1440','es','N','Cambiar foto profesor');
+
+ 4 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='695';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1435','es','N','Detectar rostros foto otro usr.');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1436','es','N','Detectar rostros foto estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1437','es','N','Detectar rostros foto profesor');
+
+ 4 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='375';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1432','es','N','Solicitar cambio foto otro usr.');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1433','es','N','Solicitar cambio foto estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1434','es','N','Solicitar cambio foto profesor');
+
+ 2 changes necessary in database:
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1430','es','N','Preguntar si eliminar mi cuenta');
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1431','es','N','Eliminar mi cuenta');
+
+ 3 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='799';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1428','es','N','Inscribir/eliminar varios estudiantes');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1429','es','N','Inscribir/eliminar varios profesores');
+
+ 3 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='797';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1426','es','N','Administrar varios estudiantes');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1427','es','N','Administrar varios profesores');
+
+ Changes in user enrollment.
+ Fixed bug in user enrollment. (184411 lines)
+ 15 changes necessary in database:
+
+UPDATE actions SET Obsolete='Y' WHERE ActCod='177';
+
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1414','es','N','Solicitar ID modif. invitado');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1415','es','N','Solicitar ID modif. estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1416','es','N','Solicitar ID modif. profesor');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1417','es','N','Solicitar ID modif. administrador');
+UPDATE actions SET Obsolete='Y' WHERE ActCod='161';
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1418','es','N','Confirmar modif. invitado');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1419','es','N','Confirmar modif. estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1420','es','N','Confirmar modif. profesor');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1421','es','N','Confirmar modif. administrador');
+UPDATE actions SET Obsolete='Y' WHERE ActCod='439';
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1422','es','N','Modificar datos invitado');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1423','es','N','Modificar datos estudiante');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1424','es','N','Modificar datos profesor');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1425','es','N','Modificar datos administrador');
+
+ 1 change necessary in database:
+
+ALTER TABLE usr_webs CHANGE Web Web ENUM('www', '500px', 'delicious', 'deviantart', 'diaspora', 'edmodo', 'facebook', 'flickr', 'foursquare', 'github', 'gnusocial', 'googleplus', 'googlescholar', 'identica', 'instagram', 'linkedin', 'orcid', 'paperli', 'pinterest', 'quitter', 'researchgate', 'researcherid', 'scoopit', 'slideshare', 'storify', 'tumblr', 'twitter', 'wikipedia', 'youtube') NOT NULL;
+
+
+ Two new social networks. (184269 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', 'orcid', 'paperli', 'pinterest', 'quitter', 'researchgate', 'researcherid', 'scoopit', 'slideshare', 'storify', 'tumblr', 'twitter', 'wikipedia', 'youtube') NOT NULL;
+
+
+ Fixed bug in information about an institution. (184258 lines)
+
+ Changes in CSS of forms. (184781 lines)
+
+ Changes in function to draw institution / centre / degree logo. (184782 lines)
+
+ Fixed bug in edition of institutions. (184782 lines)
+
+ New layout to select source of course info. (184799 lines)
+
+ Changes in CSS of surveys. (184877 lines)
+
+ Fixed bug in selectors of country, institution, centre and degree. (184819 lines)
+
+ Update connected users when change scope selection. (184856 lines)
+
+ Removed unused function about mail domains. (185153 lines)
+
+ Changes in most frequent actions. (184948 lines)
+
+ Changes in form to upload logo.
+ Changes in form to photo of centre.
+ Changes in edition of course timetable. (184572 lines)
+
+ Fixed bugs in surveys.
+ Changes in layout of edition of test questions.
+ Changes in layout of users' attendance. (184723 lines)
+
+ Changes in layout of edition of a new forum post. (184718 lines)
+
+ Changes in layout of edition of a new message. (184719 lines)
+
+ Changes in layout of edition of test questions. (184702 lines)
+
+ MathJax installed in local by default. (184555 lines)
+ 1 change in installation:
+
+It's necessary to install a copy of MathJax in the server at directory MathJax inside main html directory followin the instructions in http://docs.mathjax.org/en/latest/start.html
+
+
+ Fixed bug in file browser, reported by Eva Martínez Ortigosa.
+ 2 changes necessary in database:
+
+ALTER TABLE crs_info_txt CHANGE COLUMN InfoTxt InfoTxtHTML LONGTEXT NOT NULL;
+ 1 change in installation:
+ALTER TABLE crs_info_txt ADD COLUMN InfoTxtMD LONGTEXT NOT NULL AFTER InfoTxtHTML;
+
+
+It's necessary to install pandoc 1.10 or later.
+
+
1 change necessary in database:
-UPDATE actions SET Obsolete='Y' WHERE ActCod='299';
+UPDATE actions SET Obsolete='Y' WHERE ActCod='299';
1 change necessary in database:
-CREATE TABLE IF NOT EXISTS usr_banned (UsrCod INT NOT NULL,UNIQUE INDEX(UsrCod));
+CREATE TABLE IF NOT EXISTS usr_banned (UsrCod INT NOT NULL,UNIQUE INDEX(UsrCod));
1 change necessary in database:
-UPDATE usr_data SET NotifNtfEvents=(NotifNtfEvents | 0x2000) WHERE NotifNtfEvents<>0;
+UPDATE usr_data SET NotifNtfEvents=(NotifNtfEvents | 0x2000) WHERE NotifNtfEvents<>0;
1 change necessary in database:
-CREATE INDEX UsrCod ON file_view (UsrCod);
+CREATE INDEX UsrCod ON file_view (UsrCod);
CREATE TABLE IF NOT EXISTS usr_follow (FollowerCod INT NOT NULL,FollowedCod INT NOT NULL,FollowTime DATETIME NOT NULL,UNIQUE INDEX (FollowerCod,FollowedCod),UNIQUE INDEX (FollowedCod,FollowerCod),INDEX (FollowTime));
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1410','es','N','Seguir a un usuario');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1411','es','N','Dejar de seguir a un usuario');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1411','es','N','Dejar de seguir a un usuario');
1 change necessary in Makefile:
-Add swad_profile.o to list of object files
+Add swad_profile.o to list of object files
ALTER TABLE usr_figures ADD COLUMN NumFileViews INT NOT NULL DEFAULT -1 AFTER NumClicks;
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1409','es','N','Calcular número de descargas de archivos');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1409','es','N','Calcular número de descargas de archivos');
CREATE INDEX FirstClickTime ON usr_figures (FirstClickTime);
-CREATE INDEX NumClicks ON usr_figures (NumClicks);
+CREATE INDEX NumClicks ON usr_figures (NumClicks);
ALTER TABLE usr_figures ADD COLUMN NumForPst INT NOT NULL DEFAULT -1 AFTER NumClicks;
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1408','es','N','Calcular número de mensajes en foros');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1408','es','N','Calcular número de mensajes en foros');
ALTER TABLE usr_figures ADD COLUMN NumMsgSnt INT NOT NULL DEFAULT -1 AFTER NumClicks;
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1407','es','N','Calcular número de mensajes enviados');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1407','es','N','Calcular número de mensajes enviados');
ALTER TABLE usr_figures CHANGE COLUMN NumClicks NumClicks INT NOT NULL DEFAULT -1;
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1405','es','N','Calcular fecha del primer clic');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1406','es','N','Calcular número de clics');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1406','es','N','Calcular número de clics');
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;
+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;
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));
+CREATE TABLE IF NOT EXISTS usr_figures (UsrCod INT NOT NULL,FirstClickTime DATETIME NOT NULL,NumClicks INT NOT NULL DEFAULT 0,PRIMARY KEY(UsrCod));
- Parameter "InsCod" is renamed to "ins".
- Parameter "CtrCod" is renamed to "ctr".
- Parameter "DegCod" is renamed to "deg".
- Parameter "CrsCod" is renamed to "crs", but "CrsCod" is allowed for compatibility with old links.
- Parameter "Usr" is renamed to "usr".
- Parameter "Layout" is not allowed with GET method.
- Parameter "IdSes" is renamed to "ses".
- Parameter "MailKey" is renamed to "key". (178699 lines)
+ Parameter "CtyCod" is renamed to "cty".
+ Parameter "InsCod" is renamed to "ins".
+ Parameter "CtrCod" is renamed to "ctr".
+ Parameter "DegCod" is renamed to "deg".
+ Parameter "CrsCod" is renamed to "crs", but "CrsCod" is allowed for compatibility with old links.
+ Parameter "Usr" is renamed to "usr".
+ Parameter "Layout" is not allowed with GET method.
+ Parameter "IdSes" is renamed to "ses".
+ Parameter "MailKey" is renamed to "key". (178699 lines)
+ Parameter "UsrNick" is renamed to "Usr".
URL is shown in public profile.
Language in direct URLs. (178677 lines)
ALTER TABLE usr_data ADD COLUMN ProfileVisibility ENUM('user','course','system','world') NOT NULL DEFAULT 'user' AFTER PhotoVisibility;
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1403','es','N','Editar privacidad');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1404','es','N','Cambiar privacidad perfil público');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1404','es','N','Cambiar privacidad perfil público');
1 change necessary in Makefile:
-Add swad_privacy.o to list of object files
+Add swad_privacy.o to list of object files
UPDATE usr_data SET PhotoVisibility='user' WHERE PublicPhoto='N';
UPDATE usr_data SET PhotoVisibility='system' WHERE PublicPhoto='Y';
-ALTER TABLE usr_data DROP COLUMN PublicPhoto;
+ALTER TABLE usr_data DROP COLUMN PublicPhoto;
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1401','es','N','Solicitar perfil de usuario');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1402','es','N','Ver perfil de usuario');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1402','es','N','Ver perfil de usuario');
1 change necessary in database:
-ALTER TABLE usr_webs CHANGE Web 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') NOT NULL;
+ALTER TABLE usr_webs CHANGE Web 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') NOT NULL;
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1341','es','N','Eliminar logo de institución');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1342','es','N','Eliminar logo de centro');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1343','es','N','Eliminar logo de titulación');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1343','es','N','Eliminar logo de titulación');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1338','es','N','Eliminar administrador de institución');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1339','es','N','Añadir administrador de centro');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1340','es','N','Eliminar administrador de centro');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1340','es','N','Eliminar administrador de centro');
INSERT INTO admin (UsrCod,Scope,Cod) SELECT UsrCod,'Deg',DegCod FROM deg_admin WHERE DegCod>'0';
INSERT INTO admin (UsrCod,Scope,Cod) SELECT UsrCod,'Sys',DegCod FROM deg_admin WHERE DegCod='-2';
-DROP TABLE IF EXISTS deg_admin;
+DROP TABLE IF EXISTS deg_admin;
UPDATE expanded_folders SET FileBrowser='13' WHERE FileBrowser='12';
UPDATE expanded_folders SET FileBrowser='17' WHERE FileBrowser='16';
UPDATE expanded_folders SET FileBrowser='19' WHERE FileBrowser='18';
-UPDATE expanded_folders SET FileBrowser='21' WHERE FileBrowser='20';
+UPDATE expanded_folders SET FileBrowser='21' WHERE FileBrowser='20';
UPDATE file_browser_size SET Cod=GrpCod WHERE GrpCod>'0';
ALTER TABLE file_browser_size DROP COLUMN CrsCod;
ALTER TABLE file_browser_size DROP COLUMN GrpCod;
-CREATE UNIQUE INDEX FileBrowser ON file_browser_size (FileBrowser,Cod,ZoneUsrCod);
+CREATE UNIQUE INDEX FileBrowser ON file_browser_size (FileBrowser,Cod,ZoneUsrCod);
ALTER TABLE files DROP COLUMN DegCod;
ALTER TABLE files DROP COLUMN CrsCod;
ALTER TABLE files DROP COLUMN GrpCod;
-DROP INDEX Location ON files;
+DROP INDEX Location ON files;
ALTER TABLE clipboard DROP COLUMN CtrCod;
ALTER TABLE clipboard DROP COLUMN DegCod;
ALTER TABLE clipboard DROP COLUMN CrsCod;
-ALTER TABLE clipboard DROP COLUMN GrpCod;
+ALTER TABLE clipboard DROP COLUMN GrpCod;
ALTER TABLE expanded_folders DROP COLUMN CtrCod;
ALTER TABLE expanded_folders DROP COLUMN DegCod;
ALTER TABLE expanded_folders DROP COLUMN CrsCod;
-ALTER TABLE expanded_folders DROP COLUMN GrpCod;
+ALTER TABLE expanded_folders DROP COLUMN GrpCod;
ALTER TABLE crs_grp_usr DROP COLUMN LastAccDownloadGrp;
ALTER TABLE crs_grp_usr DROP COLUMN LastAccCommonGrp;
-ALTER TABLE crs_grp_usr DROP COLUMN LastAccMarksGrp;
+ALTER TABLE crs_grp_usr DROP COLUMN LastAccMarksGrp;
ALTER TABLE crs_usr DROP COLUMN LastAccCommonCrs;
ALTER TABLE crs_usr DROP COLUMN LastAccMarksCrs;
ALTER TABLE crs_usr DROP COLUMN LastAccMyWorks;
-ALTER TABLE crs_usr DROP COLUMN LastAccCrsWorks;
+ALTER TABLE crs_usr DROP COLUMN LastAccCrsWorks;
REPLACE INTO file_browser_last (UsrCod,FileBrowser,Cod,LastClick) SELECT UsrCod,'9','-1',LastAccBriefcase FROM usr_last WHERE LastAccBriefcase>0;
-ALTER TABLE usr_last DROP COLUMN LastAccBriefcase;
+ALTER TABLE usr_last DROP COLUMN LastAccBriefcase;
1 change necessary in database:
-CREATE TABLE IF NOT EXISTS file_browser_last (UsrCod INT NOT NULL,FileBrowser TINYINT NOT NULL,Cod INT NOT NULL DEFAULT -1,LastClick DATETIME NOT NULL,UNIQUE INDEX(UsrCod,FileBrowser,Cod));
+CREATE TABLE IF NOT EXISTS file_browser_last (UsrCod INT NOT NULL,FileBrowser TINYINT NOT NULL,Cod INT NOT NULL DEFAULT -1,LastClick DATETIME NOT NULL,UNIQUE INDEX(UsrCod,FileBrowser,Cod));
ALTER TABLE expanded_folders ADD COLUMN InsCod INT NOT NULL DEFAULT -1 AFTER FileBrowser, ADD INDEX (InsCod);
ALTER TABLE expanded_folders ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod, ADD INDEX (CtrCod);
-ALTER TABLE expanded_folders ADD COLUMN DegCod INT NOT NULL DEFAULT -1 AFTER CtrCod, ADD INDEX (DegCod);
+ALTER TABLE expanded_folders ADD COLUMN DegCod INT NOT NULL DEFAULT -1 AFTER CtrCod, ADD INDEX (DegCod);
ALTER TABLE files ADD COLUMN DegCod INT NOT NULL DEFAULT -1 AFTER CtrCod;
DROP INDEX CrsCod ON files;
DROP INDEX CrsCod_GrpCod_ZoneUsrCod_FileBrowser ON files;
-CREATE INDEX Location ON files (InsCod,CtrCod,DegCod,CrsCod,GrpCod,FileBrowser);
+CREATE INDEX Location ON files (InsCod,CtrCod,DegCod,CrsCod,GrpCod,FileBrowser);
ALTER TABLE clipboard ADD COLUMN InsCod INT NOT NULL DEFAULT -1 AFTER FileBrowser, ADD INDEX (InsCod);
ALTER TABLE clipboard ADD COLUMN CtrCod INT NOT NULL DEFAULT -1 AFTER InsCod, ADD INDEX (CtrCod);
-ALTER TABLE clipboard ADD COLUMN DegCod INT NOT NULL DEFAULT -1 AFTER CtrCod, ADD INDEX (DegCod);
+ALTER TABLE clipboard ADD COLUMN DegCod INT NOT NULL DEFAULT -1 AFTER CtrCod, ADD INDEX (DegCod);
UPDATE actions SET Txt='Cambiar logo de titulación' WHERE ActCod='553' AND Language='es';
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1246','es','N','Solicitar envío de logo de titulación');
-ALTER TABLE degrees DROP COLUMN Logo;
+ALTER TABLE degrees DROP COLUMN Logo;
UPDATE actions SET Txt='Cambiar logo de institución' WHERE ActCod='699' AND Language='es';
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1245','es','N','Solicitar envío de logo de institución');
-ALTER TABLE institutions DROP COLUMN Logo;
+ALTER TABLE institutions DROP COLUMN Logo;
UPDATE actions SET Txt='Cambiar logo de centro' WHERE ActCod='1051' AND Language='es';
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1244','es','N','Solicitar envío de logo de centro');
-ALTER TABLE centres DROP COLUMN Logo;
+ALTER TABLE centres DROP COLUMN Logo;
1 change necessary in database:
-ALTER TABLE usr_data DROP COLUMN WWW,DROP COLUMN Twitter,DROP COLUMN Skype;
+ALTER TABLE usr_data DROP COLUMN WWW,DROP COLUMN Twitter,DROP COLUMN Skype;
1 change necessary in Makefile:
-Add swad_tab.o to list of object files
+Add swad_tab.o to list of object files
1 change necessary in Makefile:
-Add swad_calendar.o to list of object files
+Add swad_calendar.o to list of object files
UPDATE usr_data SET Menu=1;
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1243','es','N','Cambiar menú');
-ALTER TABLE IP_prefs ADD COLUMN Menu TINYINT NOT NULL DEFAULT 0 AFTER IconSet;
+ALTER TABLE IP_prefs ADD COLUMN Menu TINYINT NOT NULL DEFAULT 0 AFTER IconSet;
1 change necessary in database:
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1242','es','N','Ver programa');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1242','es','N','Ver programa');
- Guests can view option "my courses" on profile tab.
+ Guests can view option "my courses" on profile tab.
Reordering of options in profile tab. (170866 lines)
1 change necessary in Makefile:
-Add swad_account.o to list of object files
+Add swad_account.o to list of object files
1 change necessary in Makefile:
-Add swad_role.o to list of object files
+Add swad_role.o to list of object files
1 change necessary in Makefile:
-Add swad_enrollment.o to list of object files
+Add swad_enrollment.o to list of object files
1 change necessary in database:
-ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'delicious', 'edmodo', 'facebook', 'flickr', 'foursquare', 'github', 'googleplus', 'googlescholar', 'instagram', 'linkedin', 'paperli', 'pinterest', 'researchgate', 'scoopit', 'slideshare', 'storify', 'tumblr', 'twitter', 'wikipedia', 'youtube') NOT NULL;
+ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'delicious', 'edmodo', 'facebook', 'flickr', 'foursquare', 'github', 'googleplus', 'googlescholar', 'instagram', 'linkedin', 'paperli', 'pinterest', 'researchgate', 'scoopit', 'slideshare', 'storify', 'tumblr', 'twitter', 'wikipedia', 'youtube') NOT NULL;
1 change necessary in Makefile:
-Add swad_config.o to list of object files
+Add swad_config.o to list of object files
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1239','es','N','Solicitar edición ID otro usuario');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1240','es','N','Eliminar ID de otro usuario');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1241','es','N','Crear ID de otro usuario');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1241','es','N','Crear ID de otro usuario');
UPDATE actions SET Txt='Solicitar la creación de una cuenta' WHERE ActCod='36' AND Language='es';
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1237','es','N','Crear anuncio global');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1237','es','N','Crear anuncio global');
1 change necessary in database:
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1236','es','N','Eliminar anuncio global');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1236','es','N','Eliminar anuncio global');
1 change necessary in database:
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1235','es','N','Ver anuncios globales');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1235','es','N','Ver anuncios globales');
1 change necessary in database:
-ALTER TABLE announcements ADD COLUMN Subject TEXT NOT NULL AFTER Roles;
+ALTER TABLE announcements ADD COLUMN Subject TEXT NOT NULL AFTER Roles;
CREATE TABLE IF NOT EXISTS announcements (AnnCod INT NOT NULL AUTO_INCREMENT,Roles INT NOT NULL DEFAULT 0,Content TEXT NOT NULL,UNIQUE INDEX(AnnCod));
CREATE TABLE IF NOT EXISTS ann_seen (AnnCod INT NOT NULL,UsrCod INT NOT NULL,UNIQUE INDEX(AnnCod,UsrCod));
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1234','es','N','Marcar anuncio global como visto');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1234','es','N','Marcar anuncio global como visto');
1 change necessary in database:
-ALTER TABLE files ADD COLUMN FileType TINYINT NOT NULL DEFAULT 0 AFTER PublisherUsrCod;
+ALTER TABLE files ADD COLUMN FileType TINYINT NOT NULL DEFAULT 0 AFTER PublisherUsrCod;
1 change necessary in database:
-ALTER TABLE clipboard ADD COLUMN FileType TINYINT NOT NULL DEFAULT 0 AFTER WorksUsrCod;
+ALTER TABLE clipboard ADD COLUMN FileType TINYINT NOT NULL DEFAULT 0 AFTER WorksUsrCod;
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1231','es','N','Crear enlace documentos grp.');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1232','es','N','Crear enlace mis actividades');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1233','es','N','Crear enlace activid. asg.');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1233','es','N','Crear enlace activid. asg.');
UPDATE actions SET Obsolete='Y' WHERE ActCod='760';
-ALTER TABLE usr_data DROP COLUMN SecureIcons;
+ALTER TABLE usr_data DROP COLUMN SecureIcons;
1 change necessary in database:
-UPDATE tst_questions SET Feedback='' WHERE Feedback='(null)';
+UPDATE tst_questions SET Feedback='' WHERE Feedback='(null)';
1 change necessary in Makefile:
-Add swad_test_import.o to list of object files
+Add swad_test_import.o to list of object files
1 change necessary:
-Copy the new swad_smtp.py into swad cgi directory
+Copy the new swad_smtp.py into swad cgi directory
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1222','es','N','Subir archivo calif. asg.' );
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1223','es','N','Subir archivo calif. grp.' );
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1224','es','N','Subir archivo a maletín' );
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1224','es','N','Subir archivo a maletín' );
UPDATE sessions SET WhatToSearch=WhatToSearch+1 WHERE WhatToSearch>=7;
-UPDATE usr_last SET WhatToSearch=WhatToSearch+1 WHERE WhatToSearch>=7;
+UPDATE usr_last SET WhatToSearch=WhatToSearch+1 WHERE WhatToSearch>=7;
CREATE INDEX Hidden ON banners (Hidden);
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1212','es','N','Mostrar banner');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1213','es','N','Ocultar banner');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1213','es','N','Ocultar banner');
UPDATE sessions SET WhatToSearch=WhatToSearch+1 WHERE WhatToSearch>=6;
-UPDATE usr_last SET WhatToSearch=WhatToSearch+1 WHERE WhatToSearch>=6;
+UPDATE usr_last SET WhatToSearch=WhatToSearch+1 WHERE WhatToSearch>=6;
UPDATE sessions SET WhatToSearch=WhatToSearch+3 WHERE WhatToSearch>0;
-UPDATE usr_last SET WhatToSearch=WhatToSearch+3 WHERE WhatToSearch>0;
+UPDATE usr_last SET WhatToSearch=WhatToSearch+3 WHERE WhatToSearch>0;
CREATE INDEX Status ON institutions (Status);
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1210','es','N','Solicitar institución');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1211','es','N','Cambiar estado institución');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1211','es','N','Cambiar estado institución');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1208','es','N','Solicitar centro');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1209','es','N','Cambiar estado centro');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1209','es','N','Cambiar estado centro');
1 change necessary in database:
-UPDATE actions SET Txt='Ver instit., centros, titul. y asig. pendientes' WHERE ActCod='1060';
+UPDATE actions SET Txt='Ver instit., centros, titul. y asig. pendientes' WHERE ActCod='1060';
CREATE INDEX Status ON degrees (Status);
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1206','es','N','Solicitar titulación');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1207','es','N','Cambiar estado titulación');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1207','es','N','Cambiar estado titulación');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1204','es','N','Ver calificaciones grupo');
UPDATE actions SET Txt='Administrar calificaciones asignatura' WHERE ActCod='284';
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1205','es','N','Administrar calificaciones grupo');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1205','es','N','Administrar calificaciones grupo');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1192','es','N','Inhabilitar arch/carp calif. grp.');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1193','es','N','Habilitar arch/carp calif. asig.');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1194','es','N','Inhabilitar arch/carp calif. asig.');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1194','es','N','Inhabilitar arch/carp calif. asig.');
1 change necessary in database:
-UPDATE actions SET Obsolete='Y' WHERE ActCod IN ('267','268','463','466','467','475','499','500','525','526');
+UPDATE actions SET Obsolete='Y' WHERE ActCod IN ('267','268','463','466','467','475','499','500','525','526');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1188','es','N','Imprimir fichas invitados');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1189','es','N','Ver lista invitados');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1190','es','N','Imprimir orla ionvitados');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1190','es','N','Imprimir orla ionvitados');
1 change necessary in database:
-ALTER TABLE institutions CHANGE COLUMN FullName FullName TEXT NOT NULL;
+ALTER TABLE institutions CHANGE COLUMN FullName FullName TEXT NOT NULL;
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1183','es','N','Buscar desde centro');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1184','es','N','Buscar desde titulación');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1185','es','N','Buscar desde asignatura');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1185','es','N','Buscar desde asignatura');
1 change necessary in database:
-ALTER TABLE institutions CHANGE Logo Logo VARCHAR(32) NOT NULL;
+ALTER TABLE institutions CHANGE Logo Logo VARCHAR(32) NOT NULL;
1 change necessary in database:
-ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'delicious', 'edmodo', 'facebook', 'flickr', 'foursquare', 'googleplus', 'googlescholar', 'instagram', 'linkedin', 'paperli', 'pinterest', 'researchgate', 'scoopit', 'slideshare', 'storify', 'tumblr', 'twitter', 'wikipedia', 'youtube') NOT NULL;
+ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'delicious', 'edmodo', 'facebook', 'flickr', 'foursquare', 'googleplus', 'googlescholar', 'instagram', 'linkedin', 'paperli', 'pinterest', 'researchgate', 'scoopit', 'slideshare', 'storify', 'tumblr', 'twitter', 'wikipedia', 'youtube') NOT NULL;
1 change necessary in database:
-ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'edmodo', 'facebook', 'flickr', 'googleplus', 'googlescholar', 'instagram', 'linkedin', 'paperli', 'pinterest', 'researchgate', 'scoopit', 'slideshare', 'storify', 'tumblr', 'twitter', 'wikipedia', 'youtube') NOT NULL;
+ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'edmodo', 'facebook', 'flickr', 'googleplus', 'googlescholar', 'instagram', 'linkedin', 'paperli', 'pinterest', 'researchgate', 'scoopit', 'slideshare', 'storify', 'tumblr', 'twitter', 'wikipedia', 'youtube') NOT NULL;
1 change necessary in database:
-mv /var/www/html/swad/cty /var/www/html/swad/icon/country
+mv /var/www/html/swad/cty /var/www/html/swad/icon/country
1 change necessary in database:
-ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'edmodo', 'facebook', 'flickr', 'googleplus', 'instagram', 'linkedin', 'pinterest', 'slideshare', 'tumblr', 'twitter', 'youtube') NOT NULL;
+ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'edmodo', 'facebook', 'flickr', 'googleplus', 'instagram', 'linkedin', 'pinterest', 'slideshare', 'tumblr', 'twitter', 'youtube') NOT NULL;
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1174','es','N','Ver ficha estudiante');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1175','es','N','Ver ficha profesor');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1175','es','N','Ver ficha profesor');
1 change necessary in database:
-ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'facebook', 'flickr', 'googleplus', 'instagram', 'linkedin', 'pinterest', 'slideshare', 'tumblr', 'twitter', 'youtube') NOT NULL;
+ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'facebook', 'flickr', 'googleplus', 'instagram', 'linkedin', 'pinterest', 'slideshare', 'tumblr', 'twitter', 'youtube') NOT NULL;
REPLACE INTO usr_webs SELECT UsrCod,'www',WWW FROM usr_data WHERE WWW LIKE 'http%';
-REPLACE INTO usr_webs SELECT UsrCod,'twitter',CONCAT('https://twitter.com/',Twitter) FROM usr_data WHERE Twitter<>'' AND Twitter NOT LIKE 'http%';
+REPLACE INTO usr_webs SELECT UsrCod,'twitter',CONCAT('https://twitter.com/',Twitter) FROM usr_data WHERE Twitter<>'' AND Twitter NOT LIKE 'http%';
1 change necessary in database:
-ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'facebook', 'flickr', 'googleplus', 'instagram', 'linkedin', 'pinterest', 'slideshare', 'twitter', 'youtube') NOT NULL;
+ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'facebook', 'flickr', 'googleplus', 'instagram', 'linkedin', 'pinterest', 'slideshare', 'twitter', 'youtube') NOT NULL;
DELETE FROM usr_webs WHERE Web='skype';
-ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'facebook', 'flickr', 'googleplus', 'linkedin', 'twitter', 'youtube') NOT NULL;
+ALTER TABLE usr_webs CHANGE Web Web ENUM('www', 'facebook', 'flickr', 'googleplus', 'linkedin', 'twitter', 'youtube') NOT NULL;
1 change necessary in database:
-CREATE TABLE IF NOT EXISTS usr_webs (UsrCod INT NOT NULL,Web ENUM('www', 'facebook', 'flickr', 'googleplus', 'linkedin', 'skype', 'twitter', 'youtube') NOT NULL,URL VARCHAR(255) NOT NULL,UNIQUE INDEX(UsrCod,Web));
+CREATE TABLE IF NOT EXISTS usr_webs (UsrCod INT NOT NULL,Web ENUM('www', 'facebook', 'flickr', 'googleplus', 'linkedin', 'skype', 'twitter', 'youtube') NOT NULL,URL VARCHAR(255) NOT NULL,UNIQUE INDEX(UsrCod,Web));
1 change necessary in Makefile:
-Add swad_network.o to list of object files
+Add swad_network.o to list of object files
1 change necessary in database:
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1173','es','N','Cambiar redes sociales');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1173','es','N','Cambiar redes sociales');
1 change necessary in database:
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1172','es','N','Editar redes sociales');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1172','es','N','Editar redes sociales');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1169','es','N','Cambiar departamento');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1170','es','N','Cambiar despacho');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1171','es','N','Cambiar teléfono despacho');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1171','es','N','Cambiar teléfono despacho');
1 change necessary in database:
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1164','es','N','Mostrar aviso completo');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1164','es','N','Mostrar aviso completo');
1 change necessary in database:
-UPDATE tst_questions SET Feedback='' WHERE (Feedback='(null)' OR Feedback='(null)');
+UPDATE tst_questions SET Feedback='' WHERE (Feedback='(null)' OR Feedback='(null)');
1 change necessary in Makefile:
-Add swad_ID.o to list of object files in Makefile
+Add swad_ID.o to list of object files in Makefile
1 change necessary in Makefile:
-Add swad_nickname.o to list of object files in Makefile
+Add swad_nickname.o to list of object files in Makefile
1 change necessary in Makefile:
-Add swad_password.o to list of object files in Makefile
+Add swad_password.o to list of object files in Makefile
1 change necessary at University of Granada:
-Compile and install version 1.1.13 of PRADO (includes changes in role codes for student and teacher)
+Compile and install version 1.1.13 of PRADO (includes changes in role codes for student and teacher)
35 changes necessary in database:
@@ -3042,7 +3982,7 @@ ALTER TABLE plugins CHANGE Name Name VARCHAR(127) NOT NULL;
ALTER TABLE timetable_crs CHANGE Place Place VARCHAR(127) NOT NULL;
ALTER TABLE timetable_tut CHANGE Place Place VARCHAR(127) NOT NULL;
ALTER TABLE banners CHANGE FullName FullName VARCHAR(127) NOT NULL;
-ALTER TABLE holidays CHANGE Name Name VARCHAR(127) NOT NULL;
+ALTER TABLE holidays CHANGE Name Name VARCHAR(127) NOT NULL;
+ Role "invited" is renamed as "visitor", and new role "invited" is created for users without courses.
Not finished! Changes in action permissions required! (161240 lines)
1 change necessary at University of Granada:
-Compile and install version 1.1.12 of PRADO (includes changes in role codes for student and teacher)
+Compile and install version 1.1.12 of PRADO (includes changes in role codes for student and teacher)
15 changes necessary in database:
@@ -3092,7 +4032,7 @@ UPDATE log_recent SET Role='8' WHERE Role='5';
UPDATE log_recent SET Role=Role+1 WHERE Role>='1' AND Role<='4';
UPDATE log SET Role='8' WHERE Role='5';
-UPDATE log SET Role=Role+1 WHERE Role>='1' AND Role<='4';
+UPDATE log SET Role=Role+1 WHERE Role>='1' AND Role<='4';
DELETE FROM actions WHERE ActCod='1164';
-UPDATE actions SET Obsolete='Y' WHERE ActCod='1162';
+UPDATE actions SET Obsolete='Y' WHERE ActCod='1162';
1 change necessary in database:
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1164','es','N','Confirmar creación de nueva cuenta');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1164','es','N','Confirmar creación de nueva cuenta');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1162','es','N','Solicitar la creación de una cuenta');
-INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1163','es','N','Crear una nueva cuenta');
+INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1163','es','N','Crear una nueva cuenta');
1 change necessary in database:
-UPDATE actions SET Obsolete='Y' WHERE ActCod IN ('842','1027','1026','1050','1012','988','1010');
+UPDATE actions SET Obsolete='Y' WHERE ActCod IN ('842','1027','1026','1050','1012','988','1010');
1 change necessary in Makefile:
-Add swad_photo.o to list of object files in Makefile
+Add swad_photo.o to list of object files in Makefile
1 change necessary in database:
-UPDATE actions SET Obsolete='Y' WHERE ActCod='306';
+UPDATE actions SET Obsolete='Y' WHERE ActCod='306';
1 change necessary in database:
-UPDATE actions SET Obsolete='Y' WHERE ActCod='1004';
+UPDATE actions SET Obsolete='Y' WHERE ActCod='1004';
1 change necessary in database:
-UPDATE actions SET Obsolete='Y' WHERE ActCod IN ('57','61','229','231','580','581','582','585');
+UPDATE actions SET Obsolete='Y' WHERE ActCod IN ('57','61','229','231','580','581','582','585');
1 change necessary in database:
-UPDATE actions SET Obsolete='Y' WHERE ActCod='21';
+UPDATE actions SET Obsolete='Y' WHERE ActCod='21';
+ Option "Nickname" is changed to option "User's account". (151396 lines)
1 change necessary in database:
RENAME TABLE nicknames TO usr_nicknames;
@@ -4572,7 +5512,7 @@ RENAME TABLE notif_copy TO notif;
- "Common zone" now is called "Shared files area". (149227 lines)
+ "Common zone" now is called "Shared files area". (149227 lines)
+ "Academic year" no longer used.
Changes in calendar. (135975 lines)
+ Changed "dar de alta/baja" to "inscribir/eliminar" in Spanish and Catala.
Changed the order of several options in menus.
Users' tab is moved after enrollment tab. (134512 lines)
- Changes in "About" messages. (132224 lines)
+ Changes in "About" messages. (132224 lines)
- "Gender" is changed for "Sex". (100520 lines)
+ "Gender" is changed for "Sex". (100520 lines)
- The word "hebra" is renamed as "discusión" in Spanish. (93666 lines)
+ The word "hebra" is renamed as "discusión" in Spanish. (93666 lines)
- Deprecated "align" attributes in tags "img" are changed to CSS styles. (87096 lines)
+ Deprecated "align" attributes in tags "img" are changed to CSS styles. (87096 lines)
- Se muestran también las actividades en "Mis trabajos". (83547 líneas)
+ Se muestran también las actividades en "Mis trabajos". (83547 líneas)
+ Los profesores pueden acceder a "Mis trabajos".
Pequeño cambio en las reglas sobre quién puede ver qué fotos.
Añadido nuevo tipo MIME. (79342 líneas)
- Eliminada la etiqueta "font" del código XHTML. (63331 líneas)
+ Eliminada la etiqueta "font" del código XHTML. (63331 líneas)
- Se disingue el género en el plural del tipo de usuario (por ejemplo, si hay tres alumnas en una clase y ningún alumno, aparecerá la palabra "Alumnas" en lugar de "Alumnos"). (55295 líneas)
+ Se disingue el género en el plural del tipo de usuario (por ejemplo, si hay tres alumnas en una clase y ningún alumno, aparecerá la palabra "Alumnas" en lugar de "Alumnos"). (55295 líneas)
+ La acción "mostrar mensajes recibidos" se desdobla en una acción para el menú principal y otra para la cabecera superior.
Cambios internos en funciones de rango de usuarios en estadísticas. (50963 líneas)
- Se añade el atributo align="left" a todas las celdas que no tenían alineación para que se vea bien en IE6. (44399 líneas)
+ Se añade el atributo align="left" a todas las celdas que no tenían alineación para que se vea bien en IE6. (44399 líneas)
+ Se cambia el separador ";" de destinatarios de correo por ",", debido a que el Thunderbird no adminte los ";". Detectado por Francisco Pelayo.
Cambio interno en la presentación de usuarios conectados.
Renombramiento de variables globales. (40317 líneas)
+ Desdoblado el usuario "invitado" en "desconocido" (no identificado) e "invitado" (identificado, pero no perteneciente a la asignatura)
La pestaña personal está disponible para un invitado aún cuando está en una asignatura a la que no pertenece. (26061 líneas)
+ "Mis asignaturas" salen ordenadas por código.
Desdoblados algunos grupos de Licenciado en Economía.
Añadidos 1º y 2º de Teleco.
Añadidas optativas de L.A.D.E. (18706 líneas)
@@ -14698,7 +15638,7 @@ INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1051','es','N','Camb
- Añadido campo "Grupo" a los horarios. (10447 líneas)
+ Añadido campo "Grupo" a los horarios. (10447 líneas)
- Versión con la que se pidió el proyecto de innovación docente "Plataforma SWAD (Sistema Web a Apoyo a la Docencia)".
+ Versión con la que se pidió el proyecto de innovación docente "Plataforma SWAD (Sistema Web a Apoyo a la Docencia)".
+ Usuarios "demostración"..
Versiones de demostración.
Recepción de fotografía a través de un archivo temporal.
Table chat
@@ -1923,42 +1922,43 @@ mysql> DESCRIBE usr_IDs;
mysql> DESCRIBE usr_data;
-+-----------------+---------------------------------+------+-----+---------+----------------+
-| Field | Type | Null | Key | Default | Extra |
-+-----------------+---------------------------------+------+-----+---------+----------------+
-| UsrCod | int(11) | NO | PRI | NULL | auto_increment |
-| EncryptedUsrCod | char(43) | NO | UNI | NULL | |
-| Password | char(86) | NO | | NULL | |
-| Surname1 | varchar(32) | NO | | NULL | |
-| Surname2 | varchar(32) | NO | | NULL | |
-| FirstName | varchar(32) | NO | | NULL | |
-| Sex | enum('unknown','female','male') | NO | | unknown | |
-| Layout | tinyint(4) | NO | MUL | 0 | |
-| Theme | char(16) | NO | MUL | NULL | |
-| IconSet | char(16) | NO | MUL | NULL | |
-| Language | char(2) | NO | MUL | NULL | |
-| Photo | char(43) | NO | | NULL | |
-| PublicPhoto | enum('N','Y') | NO | | N | |
-| CtyCod | int(11) | NO | MUL | -1 | |
-| InsCtyCod | int(11) | NO | MUL | -1 | |
-| InsCod | int(11) | NO | MUL | -1 | |
-| DptCod | int(11) | NO | MUL | -1 | |
-| CtrCod | int(11) | NO | MUL | -1 | |
-| Office | varchar(127) | NO | | NULL | |
-| OfficePhone | char(16) | NO | | NULL | |
-| LocalAddress | varchar(127) | NO | | NULL | |
-| LocalPhone | char(16) | NO | | NULL | |
-| FamilyAddress | varchar(127) | NO | | NULL | |
-| FamilyPhone | char(16) | NO | | NULL | |
-| OriginPlace | varchar(127) | NO | | NULL | |
-| Birthday | date | NO | | NULL | |
-| Comments | text | NO | | NULL | |
-| Menu | tinyint(4) | NO | MUL | 0 | |
-| SideCols | tinyint(4) | NO | MUL | 3 | |
-| NotifNtfEvents | int(11) | NO | | 0 | |
-| EmailNtfEvents | int(11) | NO | | 0 | |
-+-----------------+---------------------------------+------+-----+---------+----------------+
-31 rows in set (0.00 sec)
++-------------------+----------------------------------------+------+-----+---------+----------------+
+| Field | Type | Null | Key | Default | Extra |
++-------------------+----------------------------------------+------+-----+---------+----------------+
+| UsrCod | int(11) | NO | PRI | NULL | auto_increment |
+| EncryptedUsrCod | char(43) | NO | UNI | NULL | |
+| Password | char(86) | NO | | NULL | |
+| Surname1 | varchar(32) | NO | | NULL | |
+| Surname2 | varchar(32) | NO | | NULL | |
+| FirstName | varchar(32) | NO | | NULL | |
+| Sex | enum('unknown','female','male') | NO | | unknown | |
+| Layout | tinyint(4) | NO | MUL | 0 | |
+| Theme | char(16) | NO | MUL | NULL | |
+| IconSet | char(16) | NO | MUL | NULL | |
+| Language | char(2) | NO | MUL | NULL | |
+| Photo | char(43) | NO | | NULL | |
+| PhotoVisibility | enum('user','course','system','world') | NO | | user | |
+| ProfileVisibility | enum('user','course','system','world') | NO | | user | |
+| CtyCod | int(11) | NO | MUL | -1 | |
+| InsCtyCod | int(11) | NO | MUL | -1 | |
+| InsCod | int(11) | NO | MUL | -1 | |
+| DptCod | int(11) | NO | MUL | -1 | |
+| CtrCod | int(11) | NO | MUL | -1 | |
+| Office | varchar(127) | NO | | NULL | |
+| OfficePhone | char(16) | NO | | NULL | |
+| LocalAddress | varchar(127) | NO | | NULL | |
+| LocalPhone | char(16) | NO | | NULL | |
+| FamilyAddress | varchar(127) | NO | | NULL | |
+| FamilyPhone | char(16) | NO | | NULL | |
+| OriginPlace | varchar(127) | NO | | NULL | |
+| Birthday | date | NO | | NULL | |
+| Comments | text | NO | | NULL | |
+| Menu | tinyint(4) | NO | MUL | 0 | |
+| SideCols | tinyint(4) | NO | MUL | 3 | |
+| NotifNtfEvents | int(11) | NO | | 0 | |
+| EmailNtfEvents | int(11) | NO | | 0 | |
++-------------------+----------------------------------------+------+-----+---------+----------------+
+32 rows in set (0.00 sec)
Table usr_emails
diff --git a/html/install/index.html b/html/install/index.html
index 369b71d89..8773fc9d3 100644
--- a/html/install/index.html
+++ b/html/install/index.html
@@ -56,6 +56,7 @@
swad-ircd
swad_smtp.py
Options FollowSymLinks
Remove Indexes
to not list files in directories.
+
+ /var/www/html
,
+ insert the lines:
+
+ #
+ Also, inside the root directory for web pages,
+ usually
+ # Cache
+ #
+ ExpiresActive On
+ ExpiresDefault "access plus 1 day"
+ /var/www/html
,
+ insert the lines:
+
+ #
+
+ # Cache
+ #
+ ExpiresByType text/html "access plus 1 day"
+ ExpiresByType text/css "access plus 1 day"
+ ExpiresByType text/javascript "access plus 1 day"
+ ExpiresByType image/gif "access plus 1 year"
+ ExpiresByType image/jpg "access plus 1 year"
+ ExpiresByType image/png "access plus 1 year"
+ DirectoryIndex
search the line:
@@ -694,6 +723,33 @@
Remove Indexes
to not list files in directories.
/var/www/html
,
+ insert the lines:
+
+ #
+ Also, inside the root directory for web pages,
+ usually
+ # Cache
+ #
+ ExpiresActive On
+ ExpiresDefault "access plus 1 day"
+ /var/www/html
,
+ insert the lines:
+
+ #
+
+ # Cache
+ #
+ ExpiresByType text/html "access plus 1 day"
+ ExpiresByType text/css "access plus 1 day"
+ ExpiresByType text/javascript "access plus 1 day"
+ ExpiresByType image/gif "access plus 1 year"
+ ExpiresByType image/jpg "access plus 1 year"
+ ExpiresByType image/png "access plus 1 year"
+ /var/www/
,
@@ -1316,6 +1372,68 @@
Installing jstz and populating Time Zone Tables
+
+ jstz.js
running in the user's browser
+ determines a user's time zone "Europe/Berlin".
+ This user's time zone name is necessary to compute some stats of page hits
+ using user's local time instead of server time.
+ jstz.js
is available in:
+ https://bitbucket.org/pellepim/jstimezonedetect/ >
+ Downloads >
+ Download repository >
+ pellepim-jstimezonedetect-xxxxxxxxxxxx.zip >
+ dist >
+ jstz.js
+ jstz
,
+ located inside the directory /home/<user_directory>/swad/swad-core
,
+ to the SWAD public directory:
+
+
+
+
+ CentOS 6.5
+ Ubuntu 14.04
+
+
+
+
+ cp -R /home/<user_directory>/swad/swad-core/jstz /var/www/html/swad/
+ chown -R apache:apache /var/www/html/swad/jstz
+ If in CentOS SELinux is activated,
+ it should be necessary to change the permissions of the directory jstz
and its contents:
+ ls -lZ /var/www/html/swad/
+ chcon -R -t httpd_sys_content_t /var/www/html/swad/jstz
+ ls -lZ /var/www/html/swad/
+
+
+ sudo cp -R /home/<user_directory>/swad/swad-core/jstz /var/www/html/swad/
+ sudo chown -R www-data:www-data /var/www/html/swad/jstz
+
+ After installation, you must populate the Time Zone Tables
+ in your mysql database by following the instructions in
+ http://dev.mysql.com/doc/refman/5.1/en/time-zone-support.html:
+ mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql
+
@@ -2175,6 +2293,183 @@ chown $APACHE_USER:$APACHE_GROUP $PUBLIC_HTML/swad_mobile.css
+ If you have no external mail server, + you may need to install your own mail server + to send automatic emails. + In CentOS 6.5 you can install and configure it by following these instructions: +
+ ++ You can install and configure + Postfix and + Dovecot + by following the instructions in + http://www.krizna.com/centos/setup-mail-server-in-centos-6/. +
+ ++ If you want email providers, like GMail, to accept emails coming from your server + instead of rejecting them or labeling them as SPAM, + it is necessary to perform various settings detailed in this section. +
+ +
+ We have activated Reverse DNS for our IPv4 address in our server by following the rules from
+ http://wiki.hetzner.de/index.php/DNS-Reverse-DNS/en.
+ Instructions say that the address used for the mail command HELO should be used.
+ Our reverse DNS is mail.openswad.org
.
+
+ Finally, we have also activated Reverse DNS from our IPv6 to mail.openswad.org
.
+ If we write the command
+ nslookup our-server-IPV6-address
,
+ the result is mail.openswad.org
.
+
+ SPF (Sender Policy Framework)
+ is an open standard specifying a technical method to prevent sender address forgery.
+ By following instructions in:
+ https://support.google.com/mail/answer/9008?hl=es
+ https://support.google.com/a/answer/183895
+ http://wiki.hetzner.de/index.php/DNS_SPF/en
+ we have added the next TXT record at the end of our DNS configuration page:
+ @ IN TXT "v=spf1 a mx ip6:our-server-ipv6-address ~all"
+
+ We need to install OpenDKIM to sign emails.
+ Following the instructions in
+ https://www.rosehosting.com/blog/how-to-install-and-integrate-opendkim-with-postfix-on-a-centos-6-vps/:
+ yum install opendkim
+ Make a copy of configuration file:
+ cd /etc
+ cp -a opendkim.conf opendkim.conf.original
+ and edit file opendkin.conf
:
+ vim /etc/opendkim.conf
+
Mode v
Mode sv
+ # KeyFile /etc/opendkim/keys/default.private
KeyFile /etc/opendkim/keys/openswad.org/default
+ KeyTable /etc/opendkim/KeyTable
SigningTable refile:/etc/opendkim/SigningTable
ExternalIgnoreList refile:/etc/opendkim/TrustedHosts
InternalHosts refile:/etc/opendkim/TrustedHosts
+
+ Generate set of keys for your mydomain.com domain name:
+ mkdir /etc/opendkim/keys/openswad.org
+ opendkim-genkey -D /etc/opendkim/keys/openswad.org/ -d openswad.org -s default
+ chown -R opendkim: /etc/opendkim/keys/openswad.org
+ mv /etc/opendkim/keys/openswad.org/default.private /etc/opendkim/keys/openswad.org/default
+
+ Edit /etc/opendkim/KeyTable
:
+ cd /etc/opendkim
+ cp -a KeyTable KeyTable.original
+ vim /etc/opendkim/KeyTable
+ and add the following record to OpenDKIM's key table /etc/opendkim/KeyTable
:
+ default._domainkey.openswad.org openswad.org:default:/etc/opendkim/keys/openswad.org/default
+
+ Edit /etc/opendkim/SigningTable
:
+ cd /etc/opendkim
+ cp -a SigningTable SigningTable.original
+ vim /etc/opendkim/SigningTable
+ and add the following record to OpenDKIM's signing table /etc/opendkim/SigningTable
:
+ *@openswad.org default._domainkey.openswad.org
+
+ Add your domain and your hostname as trusted hosts in /etc/opendkim/TrustedHosts
:
+ cd /etc/opendkim
+ cp -a TrustedHosts TrustedHosts.original
+ vim /etc/opendkim/TrustedHosts
+ We add the following lines:
+ openswad.org
+ mail.openswad.org
+
+ Edit your DNS zone and add the TXT record from
+ /etc/opendkim/keys/mydomain.com/default.txt
:
+ cat /etc/opendkim/keys/openswad.org/default.txt
+ We add something like this:
+ default._domainkey IN TXT ( "v=DKIM1; k=rsa; "
+ "p=our-DKIM-key" ) ; ----- DKIM key default for openswad.org
+
+ In order to integrate OpenDKIM with Postfix
+ we need to edit /etc/postfix/main.cf
:
+ vim /etc/postfix/main.cf
+ and add the following few lines:
+ smtpd_milters = inet:127.0.0.1:8891
+ non_smtpd_milters = $smtpd_milters
+ milter_default_action = accept
+ milter_protocol = 2
+
+ Finally, add OpenDKIM to your system's start-up
+ and start opendkim and restart postfix using the following commands:
+ service opendkim start
+ chkconfig opendkim on
+ service postfix restart
+
+ Finally, we add a DMARC record to our DNS
+ by following the recommendations of
+ https://support.google.com/a/answer/2466563?hl=es:
+ _dmarc IN TXT "v=DMARC1; p=none; rua=mailto:postmaster@our-domain"
+ following the instructions from
+ https://support.google.com/a/answer/2466563?hl=es&ref_topic=2759254
+
+ After the settings, we can check the health of our mail domain using web tests like this:
+ http://mxtoolbox.com/domain/openswad.org/
+
createAccount
createAccount
loginByUserPasswordKey
loginBySessionKey
getNewPassword
getMarks
getTestConfig
getTests
getTests
getTrivialQuestion
getUsers
createAccount
+
+ createAccount
Create a new user account. - FUTURE, NOT YET IMPLEMENTED!
-getTrivialQuestion
+ Returns a random test question, selected from the "uniqueChoice" questions
+ in the courses of a given list of degrees,
+ and with a score in the interval [lowerScore
, upperScore
].
+
getUsers
markNotificationsAsRead
with this value.