Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f77656fb
authored
Feb 10, 2017
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
error in runningSession variable fixed
parent
7e8b1325
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
sails/src/CHANGES.md
sails/src/assets/scripts/modules/student/controllers/session.js
sails/src/CHANGES.md
View file @
f77656fb
# Changes
Changes to be performed manually in servers to upgrade
AngularJS
## AngularJS
(already done in dev)
-
angular-re-captcha has been replaced by angular-recaptcha, so bower has to be run
-
reinstall ui-bootstrap
-
replace angular-file-upload by ng-file-upload
`bower install`
## Database
Database
(already done in dev)
-
reload trigers-enrolments-integrity-constraints.sql
-
alter table supervisor to add postal_code:
`alter table supervisor add column `
postal_code
` char(10) COLLATE utf8_unicode_ci NOT NULL;`
-
alter table office to add postal_code:
`alter table office add column `
postal_code
` char(10) COLLATE utf8_unicode_ci NOT NULL;`
-
remove max_students and current_students columns from offices:
`alter table office drop column max_students;`
`alter table office drop column current_students;`
-
copy postal_code value from office to its supervisors
`update supervisor as sup inner join office as off on off.id = sup.id_off set sup.postal_code = off.postal_code;`
-
alter table office
...
...
sails/src/assets/scripts/modules/student/controllers/session.js
View file @
f77656fb
...
...
@@ -173,7 +173,7 @@ dashboardControllers.controller('StudentSessionCtrl', function StudentSessionCtr
function
(
data
,
status
,
headers
,
config
)
{
$scope
.
wsessions
[
0
].
end
=
data
.
data
.
end
;
$scope
.
ws_recover
=
false
;
$sessionRunning
=
false
;
$s
cope
.
s
essionRunning
=
false
;
}
,
function
(
data
,
status
,
headers
,
config
)
{
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment