Commit Graph

6049 Commits

Author SHA1 Message Date
James Allen 1bd8b8d1a3 Delete SecurityManager and replace with (unwritten) AuthorizationManager 2016-03-10 17:17:26 +00:00
James Allen 3e03164ed4 Remove dead auth_token code 2016-03-10 17:15:14 +00:00
Henry Oswald 36966f0c9b wip 2016-03-10 17:11:28 +00:00
Henry Oswald 347bfe4a79 use cb for internal callbacks 2016-03-10 12:43:36 +00:00
Henry Oswald 3c4e74af4b project duplicator works and tests pass.
not so bad now.
2016-03-10 12:42:21 +00:00
Henry Oswald d801ab623a project duplicator works, tests don't 2016-03-10 11:58:05 +00:00
James Allen e36be96ec9 Move public access setting to its own end point 2016-03-10 11:13:57 +00:00
Henry Oswald bf8f9f6d41 change key to maxEntitiesPerProject 2016-03-09 15:53:03 +00:00
Henry Oswald 940586f654 sped up unit tests to improve speed
also removed some unneeded requires.
2016-03-09 12:51:19 +00:00
James Allen 4f9f255153 Extend acceptance tests to include shared projects 2016-03-09 12:31:46 +00:00
Henry Oswald a33b480c67 added more logging to subscription group handler 2016-03-09 11:20:17 +00:00
Henry Oswald 5be05a35d8 added WithProject versions of functions
rather than project_or_id
2016-03-09 11:16:27 +00:00
Henry Oswald 57f00d76bd get project name on entity move 2016-03-08 14:46:53 +00:00
Shane Kilkelly 8f2d2cfeff Merge branch 'ja_email_tokens' of github.com:sharelatex/web-sharelatex into ja_email_tokens 2016-03-08 14:38:31 +00:00
Shane Kilkelly 3e423b8a06 Another find->findOne 2016-03-08 14:38:25 +00:00
Henry Oswald ede159d833 changed logging for archiving projects from delete to archived 2016-03-08 14:38:23 +00:00
James Allen e53fc5f0b6 Remove dead code (Project.findPopulatedById) 2016-03-08 14:20:53 +00:00
James Allen 76af5e5563 Don't call deprecated findPopulatedById in loadEditor 2016-03-08 14:20:00 +00:00
James Allen 359689ffea find -> findOne 2016-03-08 14:19:38 +00:00
Henry Oswald 3643f6ef4f Merge branch 'master' of https://github.com/sharelatex/web-sharelatex 2016-03-08 14:13:40 +00:00
James Allen 0882eb2a99 Don't use deprecated Project.findPopulatedById in ReferencesManager 2016-03-08 14:05:56 +00:00
James Allen b64c8e3d78 Delete dead code in User model 2016-03-08 12:07:50 +00:00
James Allen 5f5445f625 Use TpdsUpdateSender to use CollaboratorsHandler 2016-03-08 11:54:45 +00:00
James Allen e814dfa7a8 Proxy .gif files to the blog too 2016-03-07 16:39:16 +00:00
James Allen a50bdaf5cc Refactor LimitationsManager to use CollaboratorsHandler 2016-03-07 15:32:04 +00:00
James Allen bedc8a0492 Remove ProjectGetter.populateProjectWithUsers 2016-03-07 15:25:10 +00:00
James Allen 2ba2b72fd1 Refactor ProjectDeleter to use CollaboratorHandler 2016-03-07 12:27:40 +00:00
James Allen 6d93076d51 Refactor getCollaborators http method to use CollaboratorsHandler 2016-03-07 12:02:48 +00:00
James Allen 1a689aa1fd Move findAllUsersProjects from Project to ProjectGetter 2016-03-03 17:19:03 +00:00
James Allen 120a142733 Add in required abstracted functions to CollaboratorsHandler 2016-03-03 16:13:19 +00:00
Brian Gough d89e855314 add client-side spelling cache to reduce load on server 2016-03-03 16:00:10 +00:00
Henry Oswald 4af0341e84 don't stop if add entity doens't make it to tpdsworker 2016-03-02 17:34:21 +00:00
Henry Oswald 8a4a320f4b done -> close on modal for sharing 2016-03-01 20:17:15 +00:00
Henry Oswald 39c7010d72 fixed broken tests 2016-02-29 22:51:46 +00:00
Henry Oswald 76591ebb23 made ProjectGetter.getProject more robust
it can deal with multiple types of query better, including mongoose ids which are not being matched like mongojs ids.
2016-02-29 19:01:46 +00:00
Henry Oswald 6a7395a287 brought back the project_or_id style
Added functionality into project getter, its a big performance improvement for things like cloning projects. Clone a 500 element project, 1 mongo get or 500.
2016-02-29 17:34:38 +00:00
Henry Oswald b5dd96aa71 fixed some mongo calls in project entity handler
need to specify fields you want to not get array back.
2016-02-29 16:03:22 +00:00
Henry Oswald 1e8523c227 don't emmit to room new entities if they errored. 2016-02-29 13:05:37 +00:00
Henry Oswald 8f0d1dc73e add in the calls to block large projects 2016-02-29 13:05:17 +00:00
Henry Oswald 8aec86af4e moved count element to project entity handler and added tests 2016-02-26 13:25:09 +00:00
Henry Oswald d95526bd8b ProjectGetter.findRootDoc moved to mongojs 2016-02-26 08:35:10 +00:00
Henry Oswald eedaa43b58 move project duplicator to mongojs 2016-02-26 08:32:00 +00:00
Henry Oswald 6ca69f88ac Move project locator to mongojs 2016-02-26 08:31:47 +00:00
Henry Oswald 586d4cbae1 replaced all mongoose Project.find with mongojs calls 2016-02-26 08:23:43 +00:00
Henry Oswald b6d62a677b ProjectDeleter.archiveProject doesn't need to get entire project 2016-02-26 08:13:41 +00:00
Henry Oswald 447568aa91 ProjectDetailsHandler.getDetails does not need full project 2016-02-26 07:56:26 +00:00
Henry Oswald 43102e0ffc lowercase and trim add user to group email address 2016-02-25 14:15:56 +00:00
James Allen 155831c3e7 Skip top-level directory if it exists in zip upload 2016-02-24 17:21:20 +00:00
James Allen 71ca358e0e Show confirmation if upload will overwrite files 2016-02-24 16:37:03 +00:00
James Allen c6dcb64b18 Overwrite text files from uploads 2016-02-24 16:37:03 +00:00