Commit graph

17794 commits

Author SHA1 Message Date
Henry Oswald
4ce4cc596f change localhost to 127.0.0.1 which should help with ipv6 2016-03-08 16:05:42 +00:00
James Allen
e1fa77dd72 Add beginnings of acceptance tests 2016-03-08 15:59:04 +00:00
Shane Kilkelly
6911de1149 Merge branch 'master' into sk-biber-errors 2016-03-08 14:55:19 +00:00
Henry Oswald
57f00d76bd get project name on entity move 2016-03-08 14:46:53 +00:00
James Allen
37c966ba7e Fix unit test 2016-03-08 14:42:11 +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
Shane Kilkelly
471cb95091 Clean up a bit, and upgrade parser. 2016-03-08 14:04:42 +00:00
Shane Kilkelly
08de7b8abe Upgrade biber-log-parser.js 2016-03-08 13:56:17 +00:00
Shane Kilkelly
f6d02090d2 First pass at parsing and showing decent biber errors. 2016-03-08 13:20:23 +00:00
James Allen
b64c8e3d78 Delete dead code in User model 2016-03-08 12:07:50 +00:00
James Allen
40048d49a2 Fix unit test 2016-03-08 12:07:42 +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
Brian Gough
b780df6801 removed unused tests 2016-03-04 15:47:59 +00:00
Brian Gough
4d58c14573 updated MongoAWS tests 2016-03-04 15:47:47 +00:00
Brian Gough
1419d20b1f fix indentation 2016-03-04 15:43:32 +00:00
Brian Gough
8239bcd0b5 dump the cache every 30 minutes and load at startup 2016-03-04 11:58:37 +00:00
Brian Gough
fdd9357a42 upgrade lru-cache module to avoid performance regression with node 4.2
Fix performance regression on Node 4x #55
https://github.com/isaacs/node-lru-cache/pull/55
2016-03-04 11:33:35 +00:00
James Allen
1a689aa1fd Move findAllUsersProjects from Project to ProjectGetter 2016-03-03 17:19:03 +00:00
Brian Gough
f2d62e0653 Merge pull request #229 from sharelatex/spelling-cache
add client-side spelling cache to reduce load on server
2016-03-03 16:33:04 +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
Brian Gough
3175f6d3a6 handle case where index does not exist 2016-03-03 14:36:16 +00:00
Shane Kilkelly
020e1b9b34 Add styles for the references search hint. 2016-03-03 11:44:11 +00:00
Henry Oswald
e8b3fb5be6 added more logging to failed health checks 2016-03-03 10:50:55 +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
789abe504d added random ticket number to groove tickets 2016-03-02 12:23:51 +00:00
Henry Oswald
8a4a320f4b done -> close on modal for sharing 2016-03-01 20:17:15 +00:00
Shane Kilkelly
d76e5fdbf4 Styles for references search journal 2016-03-01 16:29:19 +00:00
Henry Oswald
ef133cbf9a fix bad res.send 2016-03-01 13:22:51 +00:00
Henry Oswald
b872fbee32 add error check into health check 2016-03-01 13:20:20 +00:00
Brian Gough
1f4c453670 Merge pull request #13 from sharelatex/archive-packs
Archive packs
2016-03-01 11:58:30 +00:00
Brian Gough
795f717bab added index definitions 2016-03-01 11:38:23 +00:00
Brian Gough
ebd5628e53 temporary workaround to get tests passing
temporary workaround to get tests passing
2016-03-01 10:10:12 +00:00
Brian Gough
3d9dfeccc3 remove pack worker
remove the op-specific code

remove tests for ops, now only packing

remove unused packing code

work in progress

store index for completed packs only

support archiving and unarchiving of individual packs

remove support for archiving whole document history

split out ArchiveManager, IndexManager

remove old DocArchive code

remove docHistoryStats collection

comment about archiving

added method to look at index when last pack has been archived

added start of iterator for project results

use a proper iterator

added heap module

getting it working

increase pack size since bulk operations no longer needed

remove unused MongoAWSexternal

cleanup

added doc iterator

remove old query code

added missing files

cleanup

clean upclean up

started adding pack worker for archiving

work in progress

work in progress

getting pack worker working

updating worker

getting packworker working

added lock

use correct key name for track changes aws access

use correct key name for track changes aws access

always send back users array

fix up comparison of retrieved objects

handle op ids inside packs

log when s3 download completes

comments

cleanup, remove finalisation ideacleanup, remove finalisation idea

remove logging
2016-03-01 10:10:02 +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