Skip to content

Commit

Permalink
Version 16.18
Browse files Browse the repository at this point in the history
  • Loading branch information
acanas committed Oct 9, 2016
1 parent e0b2173 commit 179107d
Show file tree
Hide file tree
Showing 19 changed files with 252 additions and 1,572 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ OBJS = swad_account.o swad_action.o swad_agenda.o swad_announcement.o \
swad_file.o swad_file_browser.o swad_follow.o swad_forum.o \
swad_global.o swad_group.o \
swad_help.o swad_holiday.o \
swad_icon.o swad_ID.o swad_image.o swad_import.o swad_indicator.o \
swad_icon.o swad_ID.o swad_image.o swad_indicator.o \
swad_info.o swad_institution.o \
swad_layout.o swad_link.o swad_logo.o \
swad_mail.o swad_main.o swad_mark.o swad_menu.o swad_message.o \
Expand Down
35 changes: 0 additions & 35 deletions sql/swad.sql
Original file line number Diff line number Diff line change
Expand Up @@ -575,41 +575,6 @@ CREATE TABLE IF NOT EXISTS holidays (
INDEX(InsCod),
INDEX(PlcCod));
--
-- Table imported_groups: stores the external groups in a course imported from an external service
--
CREATE TABLE IF NOT EXISTS imported_groups (
GrpCod INT NOT NULL AUTO_INCREMENT,
SessionId CHAR(43) NOT NULL,
ExternalCrsCod CHAR(7) NOT NULL,
DegName VARCHAR(127) NOT NULL,
CrsName VARCHAR(127) NOT NULL,
GrpName VARCHAR(255) NOT NULL,
GrpType VARCHAR(255) NOT NULL,
UNIQUE INDEX(GrpCod),
INDEX(SessionId));
--
-- Table imported_sessions: stores the session data from external service
--
CREATE TABLE IF NOT EXISTS imported_sessions (
SessionId CHAR(43) NOT NULL,
UsrCod INT NOT NULL,
ImportedUsrId CHAR(255) NOT NULL,
ImportedSessionId CHAR(255) NOT NULL,
ImportedRole TINYINT NOT NULL DEFAULT 0,
UNIQUE INDEX(SessionId));
--
-- Table imported_students: stores the data of students imported from external service
--
CREATE TABLE IF NOT EXISTS imported_students (
GrpCod INT NOT NULL AUTO_INCREMENT,
UsrID CHAR(16) NOT NULL,
Surname1 VARCHAR(32) NOT NULL,
Surname2 VARCHAR(32) NOT NULL,
FirstName VARCHAR(32) NOT NULL,
Sex ENUM('unknown','female','male') NOT NULL DEFAULT 'unknown',
E_mail VARCHAR(127) NOT NULL,
INDEX(GrpCod));
--
-- Table institutions: stores the institutions (for example, universities)
--
CREATE TABLE IF NOT EXISTS institutions (
Expand Down
10 changes: 2 additions & 8 deletions swad_action.c
Original file line number Diff line number Diff line change
Expand Up @@ -918,8 +918,6 @@ extern struct Globals Gbl;
760. ActRenGrp Request renaming of a group of students
761. ActChgMaxStdGrp Request change in the number máximo of students of a group
762. ActGetExtLstStd Get external lists of students
763. ActLstGst List main data of administrators
764. ActPrnGstPho Show the class photo of guests ready to be printed
Expand Down Expand Up @@ -1329,7 +1327,6 @@ extern struct Globals Gbl;
1138. ActAutUsrInt Authentify user internally (directly from the platform)
NEW. ActAutUsrNew Authentify user internally (directly from the platform, only if user has not password)
1139. ActAutUsrExt Authentify user externally (remotely from an external site)
1140. ActAutUsrChgLan Change language to my language just after authentication
1141. ActAnnSee Mark announcement as seen
1142. ActChgMyRol Change type of logged user
Expand Down Expand Up @@ -2306,8 +2303,6 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
/* ActRenGrp */{ 121,-1,TabUsr,ActReqSelGrp ,0x110,0x100,0x000,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Grp_RenameGroup ,NULL},
/* ActChgMaxStdGrp */{ 106,-1,TabUsr,ActReqSelGrp ,0x110,0x100,0x000,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Grp_ChangeMaxStdsGrp ,NULL},

/* ActGetExtLstStd */{ 796,-1,TabUsr,ActLstStd ,0x110,0x110,0x110,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Imp_ListMyImpGrpsAndStdsNoForm ,NULL},

/* ActLstGst */{ 587,-1,TabUsr,ActLstOth ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Usr_SeeGuests ,NULL},

/* ActPrnGstPho */{1190,-1,TabUsr,ActLstStd ,0x100,0x100,0x100,Act_CONTENT_NORM,Act_NEW_WINDOW ,NULL ,Usr_SeeGstClassPhotoPrn ,NULL},
Expand Down Expand Up @@ -2762,7 +2757,6 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =

/* ActAutUsrInt */{ 6,-1,TabPrf,ActFrmRolSes ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Usr_WelcomeUsr ,NULL},
/* ActAutUsrNew */{1585,-1,TabPrf,ActFrmRolSes ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Usr_WelcomeUsr ,NULL},
/* ActAutUsrExt */{ 794,-1,TabPrf,ActFrmRolSes ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Usr_WelcomeUsr ,NULL},
/* ActAutUsrChgLan */{1077,-1,TabPrf,ActFrmRolSes ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Usr_WelcomeUsr ,NULL},
/* ActAnnSee */{1234,-1,TabPrf,ActFrmRolSes ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Ann_MarkAnnouncementAsSeen ,NULL},
/* ActChgMyRol */{ 589,-1,TabPrf,ActFrmRolSes ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,Rol_ChangeMyRole ,Usr_ShowFormsLogoutAndRole ,NULL},
Expand Down Expand Up @@ -3647,9 +3641,9 @@ Act_Action_t Act_FromActCodToAction[1+Act_MAX_ACTION_COD] = // Do not reuse uniq
ActRcvURLTchGui, // #791
ActAdmAsgWrkUsr, // #792
-1, // #793 (obsolete action)
ActAutUsrExt, // #794
-1, // #794 (obsolete action)
-1, // #795 (obsolete action)
ActGetExtLstStd, // #796
-1, // #796 (obsolete action)
-1, // #797 (obsolete action)
-1, // #798 (obsolete action)
-1, // #799 (obsolete action)
Expand Down

0 comments on commit 179107d

Please sign in to comment.