Commit Graph
5375 Commits
Author SHA1 Message Date
Winston Li 3d53226853 Use shared instance of AsyncHttpClient and close Stream in ResourceFetcher. 2015-02-24 10:30:39 +00:00
Henry Oswald 3cd3c118d1 don't log out when doc lines are [] as this is a new empty doc 2015-02-23 13:17:55 +00:00
Winston Li 77c4576b59 Fix SQL injection. 2015-02-23 11:00:34 +00:00
Henry Oswald daf7c4f68e log out when a doc from the project collection is used 2015-02-22 18:45:21 +00:00
Winston Li 4561409450 Fix url index bug with renaming. 2015-02-22 10:56:47 +00:00
Winston Li ad7c7a4ba5 Fix bug with Overleaf commits swapping name and email. 2015-02-22 10:41:21 +00:00
Winston Li 6e5163c186 Fix project atts directory deletion to delete base directory too. 2015-02-22 10:20:30 +00:00
Winston Li ec0c70c622 Delete project atts directory after push. 2015-02-22 10:09:35 +00:00
Winston Li 59001735b1 Remove loading messages. 2015-02-22 02:59:50 +00:00
Winston Li 52f2190346 Fix ResourceFetcher log message. 2015-02-22 02:35:03 +00:00
Winston Li b01ec908e1 Delete url indexes on successful push. 2015-02-22 02:35:03 +00:00
Winston Li 70d9c0e31d Fix url index lookups for same commit and add log messages. 2015-02-22 02:35:03 +00:00
Winston Li be806d293c Delete un-needed files from mem builds. 2015-02-22 02:35:03 +00:00
Winston Li 0c0da41bb9 Fix equals bug in ServletFile diff. 2015-02-22 02:35:03 +00:00
Winston Li 4a396c2c17 Set latest seen version after non empty snapshot fetch. 2015-02-22 02:35:02 +00:00
Winston Li 680c7fabf7 Add stack trace prints and remove bugged git config. 2015-02-22 02:35:02 +00:00
Winston Li a91390dd37 Add IF NOT EXISTS to index creation sql statement. 2015-02-22 02:35:02 +00:00
Winston Li fee792f5ee In-place diffs during push snapshot creation. 2015-02-22 02:35:02 +00:00
Winston Li ec13e184b7 Implement no_mem git-uploads. 2015-02-22 02:35:02 +00:00
Winston Li 4110dcc2a9 Redesigned SQL interface. 2015-02-22 02:35:02 +00:00
Winston Li 4d98159398 (fix #9) Fix start-stop-daemon call by removing --name option. 2015-02-21 01:43:21 +00:00
Winston Li 5ecc36b80e Modify init script to use start-stop-daemon for stopping. 2015-02-21 01:24:10 +00:00
Winston Li 30521b988b Graceful kill with write lock and per project read locks. 2015-02-21 00:52:20 +00:00
Winston Li ac50c26aef (fix #8) Add better error message for 403 protected projects with integration test and support. 2015-02-20 12:42:04 +00:00
Winston Li d9f5644b7b Merge pull request #7 from jdleesmiller/patch-1
ensure LANG is set to a UTF-8 locale
2015-02-20 11:15:18 +00:00
John Lees-Miller e51576dff9 ensure LANG is set to a UTF-8 locale
Otherwise, all input is assumed to be ASCII by default, which causes UTF-8 characters to be replaced by question marks. "C.UTF-8" the C locale with the UTF-8 codeset.
2015-02-20 11:13:04 +00:00
Brian Gough 4532cd14b0 update sanitizePath regex
remove accidental inclusion of , and add null char \x00
2015-02-13 11:28:43 +00:00
James Allen 80382d5c15 Allow non-latin characters in the rootResourcePath 2015-02-13 11:21:35 +00:00
James Allen 561ce7dc60 Sanitize rootResourcePath 2015-02-11 16:39:43 +00:00
James Allen 18a05d8813 Release version 0.1.2 2015-02-10 13:22:56 +00:00
James Allen 1f8ddac27d Release version 0.1.2 2015-02-10 13:19:42 +00:00
James Allen eb40dbbe96 Release version 0.1.2 2015-02-10 13:19:04 +00:00
James Allen 22a1f8fdaf Release version 0.1.2 2015-02-10 13:17:34 +00:00
James Allen 5cf819cd44 Release version 0.1.2 2015-02-10 13:17:14 +00:00
James Allen 5a7eeb6c8d Release version 0.1.2 2015-02-10 13:16:12 +00:00
James Allen f0462f0b1f Bump version to 0.1.2 2015-02-10 13:14:13 +00:00
James Allen 5f7b2bb802 Merge pull request #2 from dwrensha/request-dep
'request' is a production dependency
2015-02-10 10:14:18 +00:00
David Renshaw f72fa9de34 'request' is a production dependency 2015-02-09 17:34:01 -05:00
James Allen 79cd0e6a5c Record user id correctly when updating position 2015-02-05 13:41:31 +00:00
Henry Oswald a0832c79e6 return 404 if doc is deleted and include_deleted is not set to true 2015-02-03 14:05:08 +00:00
Henry Oswald 7fe25fe28f improved docstore acceptence tests to deal with changing docs on get all docs 2015-01-27 17:05:07 +00:00
Henry Oswald 7b0b72494f write to doc collection first 2015-01-27 15:05:35 +00:00
Henry Oswald 5928c91b2b Merge pull request #5 from sharelatex/phase2patch
read docs from doc collection first
2015-01-27 14:13:14 +00:00
Henry Oswald 5d2c09bf75 read docs from doc collection first
- removes include deleted flag as it is irrelivant now
2015-01-22 15:05:48 +00:00
Henry Oswald ad77bdd9c4 Merge pull request #4 from sharelatex/phase1patch
Write docs to do collection and project collection
2015-01-21 14:50:40 +00:00
Henry Oswald 535d4435bf added missing err check 2015-01-21 12:31:06 +00:00
Henry Oswald 704bf53fe5 Write docs to do collection and project collection
- docs are written to project collection then doc collection

- deletes used to insert into doc collection, now its the same upsert
with deleted = true

- does not set delted = false for new docs as it is not needed, save space

- changed delete to be seperate update on mongo
2015-01-21 11:52:39 +00:00
Henry Oswald 883a7329f1 Merge branch 'master' of https://github.com/sharelatex/docstore-sharelatex 2015-01-20 15:56:47 +00:00
Henry Oswald b3d653f930 added grep for tests 2015-01-20 15:25:35 +00:00
Henry Oswald 28990d5a39 changed logging to easier to see when the http request starts 2015-01-20 13:46:57 +00:00