Commits for galt
switch to files view, user index
v297_preview to v297_preview2 (2014-03-03 to 2014-03-10) v297
- initial work on creating a random session key for greater securiy of cart data
- now converting hgsid and hguid to strings. when the hgsid cart var or hguid cookie is not found it returns NULL instead of 0.
- src/hg/hgFileUi/hgFileUi.c - lines changed 1, context: html, text, full: html, text
- src/hg/hgTables/galaxy.c - lines changed 8, context: html, text, full: html, text
- src/hg/hgTables/great.c - lines changed 3, context: html, text, full: html, text
- src/hg/hgTrackUi/hgTrackUi.c - lines changed 7, context: html, text, full: html, text
- src/hg/hgTracks/config.c - lines changed 3, context: html, text, full: html, text
- src/hg/hgTracks/hgTracks.c - lines changed 8, context: html, text, full: html, text
- src/hg/hgTracks/simpleTracks.c - lines changed 1, context: html, text, full: html, text
- src/hg/hgTracks/variation.c - lines changed 4, context: html, text, full: html, text
- adding random sessionKey generation
- Merge remote-tracking branch 'origin/master' into randKeyStr
- adding support for auto-upgrade of userDb and sessionDb tables when sessionKey field is missing
- updateOne needs to use sessionKey; writeCookie needs to use the secureId instead of plain id
- Adding better handling of auto-upgrade for the situation where simultaneous CGIs would try to all upgrade at once. It uses an advisory lock to make sure only one process is trying to upgrade at a time, and it checks again that the field does not exist already before adding the new sessionkey field, it writes the result of success or failure with the error message to a TRASH file so that other CGIs may access it. To prevent them all from repeatedly trying to do the same upgrade with every CGI execution, it checks the time-stamp on the AUTOUPGRADE trash file, and if it is older than 3 minutes, then it will try again to see if the admins have given it the permissions needed - which will then re-write the trash file with the results and its time will be updated. If an error occurs during sql upgrade, it traps the error instead of errAborting and the message is saved to be included in the trash file, and the system proceeds for now without the new sessionKey field.
- src/hg/hgGateway/hgGateway.c - lines changed 8, context: html, text, full: html, text
- Resolved merge conflict
- Last little compile failures from changing hgsid to char * for new secure web ids. The problem was hidden because hgSession had makefile with HGWARN turned off. Angie will fix that.
- src/hg/hgSession/hgSession.c - lines changed 1, context: html, text, full: html, text
switch to files view, user index