Commit Graph

  • 30f57a7bfc Merge pull request #51 from sharelatex/ja-expires-ordering James Allen 2017-06-13 14:05:22 +01:00
  • 954c53aec6 Move the labels event logic into ide/labels/LabelsManager Shane Kilkelly 2017-06-13 13:29:03 +01:00
  • a04eb1197d Move labels service to /ide/labels/services/labels Shane Kilkelly 2017-06-13 11:43:25 +01:00
  • b97becc7a2 Change getLabelsForDoc to broadcastLabelsForDoc Shane Kilkelly 2017-06-13 11:38:15 +01:00
  • a3dbb16e50 Flush project before getting all project labels Shane Kilkelly 2017-06-13 11:15:26 +01:00
  • bd6133aadb Remove callback-pattern from label parsers Shane Kilkelly 2017-06-13 11:10:21 +01:00
  • c25b6b792d Namespace the document route under /doc/ Shane Kilkelly 2017-06-13 10:57:51 +01:00
  • d1a85304d2 Add comment Shane Kilkelly 2017-06-12 15:47:31 +01:00
  • 26be4f84d0 Re-use parser Shane Kilkelly 2017-06-12 15:15:14 +01:00
  • debb0c06a4 Clearer logic for triggering labels-loading Shane Kilkelly 2017-06-12 14:23:29 +01:00
  • 0a491a4f13 Add comment, explain flushing of doc to mongo Shane Kilkelly 2017-06-12 13:09:13 +01:00
  • ff4991284d Change docLabelsUpdated socket event to broadcastDocLabels Shane Kilkelly 2017-06-12 13:06:56 +01:00
  • 234a2d0e21 Remove cruft Shane Kilkelly 2017-06-12 11:37:34 +01:00
  • 9f9468d0e0 Use lowercase project_id Shane Kilkelly 2017-06-12 11:37:05 +01:00
  • c9432a1238 Fix unit tests Shane Kilkelly 2017-06-12 10:09:33 +01:00
  • 1bb065344c Move labels into an Angular Service Shane Kilkelly 2017-06-12 09:44:32 +01:00
  • 56385a798b Use ide.$http, rather than jquery Shane Kilkelly 2017-06-09 11:41:35 +01:00
  • 7137ab643f Merge pull request #523 from sharelatex/ja-removing-group-holding-accounts James Allen 2017-06-09 11:36:42 +01:00
  • 5443b92e7d Move state management into LabelsMaster on the ide Shane Kilkelly 2017-06-09 11:28:27 +01:00
  • ba3822d1ae Encode email for URL when deleting invited group email James Allen 2017-06-09 10:39:48 +01:00
  • 69bc6fc8e4 Maintain backwards compatibility with old holding accounts in removal end points James Allen 2017-06-08 16:53:22 +01:00
  • 770b53f6af Add missing mocks to speed up tests and clean up output James Allen 2017-06-08 16:43:27 +01:00
  • a3d7260619 Ensure expires is called after the key is created James Allen 2017-06-08 16:43:06 +01:00
  • 5849f65852 Merge pull request #524 from sharelatex/pr-non-bindable-value-attrs Paulo Jorge Reis 2017-06-08 16:13:26 +01:00
  • cc7f44737e Tell Angular to avoid parsing the value attribute. Paulo Reis 2017-06-08 16:02:28 +01:00
  • 965a46291b Only fetch labels for uploaded docs, not files Shane Kilkelly 2017-06-08 15:55:17 +01:00
  • ff7955dfdb Update labels when docs are uploaded or removed Shane Kilkelly 2017-06-08 15:12:18 +01:00
  • 4cecbae6b6 Use an email based invite system for groups, not holding accounts James Allen 2017-06-08 12:12:08 +01:00
  • feb1d87de1 Add test for LablesHandler Shane Kilkelly 2017-06-08 10:25:39 +01:00
  • 3c4a6f06be Add unit tests for LabelsController Shane Kilkelly 2017-06-08 09:22:26 +01:00
  • c7dbd21cd1 use flag on aceEditor to enable autocomplete features Shane Kilkelly 2017-06-08 09:22:08 +01:00
  • 7461429c33 Merge pull request #518 from sharelatex/pr-aggregate-insert-delete Paulo Jorge Reis 2017-06-07 14:21:58 +01:00
  • 240d6d6f6b Resolve timing issue when triggering selection-related logic. Paulo Reis 2017-06-07 14:21:05 +01:00
  • 53b18e041f Trigger selection-related logic after accepting or rejecting changes. Paulo Reis 2017-06-07 14:03:58 +01:00
  • aa8974dcd6 Revert "use a single pdfjs worker, rotated to avoid leaks" Brian Gough 2017-06-07 13:29:10 +01:00
  • 2e5d57cd99 don't increase rate limit when tasks are failing Brian Gough 2017-06-07 11:47:28 +01:00
  • 1ef258c878 add a timeout on the redis getDoc request Brian Gough 2017-06-07 11:34:42 +01:00
  • 19ecffd654 Merge branch 'master' into pr-aggregate-insert-delete Paulo Reis 2017-06-06 17:04:31 +01:00
  • 34796b18c5 Add translation keys. Paulo Reis 2017-06-06 16:46:36 +01:00
  • afa011c813 Avoid flickering when elements enter the review panel. Paulo Reis 2017-06-06 16:11:00 +01:00
  • e417a72e0a remove old version of pdfjs Brian Gough 2017-06-06 15:06:09 +01:00
  • 73a67c6617 Add a note on the need of reverse sorting changes when rejecting. Paulo Reis 2017-06-06 13:34:48 +01:00
  • ecf0857756 update pdfjs to v1.8.188 Brian Gough 2017-06-06 12:19:13 +01:00
  • ff7e383f08 add compatibility.js from pdfjs repo Brian Gough 2017-06-06 12:18:58 +01:00
  • 4504f77aa3 Do bulk rejects in reverse order. Paulo Reis 2017-06-05 17:17:47 +01:00
  • 5aa1e4cc2a add pdfjs-1.8.188 Brian Gough 2017-06-06 11:47:30 +01:00
  • 81a5a5311d Clear selection after bulk actions. Paulo Reis 2017-06-06 10:03:33 +01:00
  • af93fc1869 Make aggregate entries work when the review panel is minimised. Paulo Reis 2017-06-06 10:00:50 +01:00
  • b277ee3254 Merge pull request #511 from sharelatex/bg-handle-web-api-errors Brian Gough 2017-06-06 09:22:28 +01:00
  • 56230dad84 Merge pull request #15 from sharelatex/bg-catch-null-bytes Brian Gough 2017-06-06 09:21:48 +01:00
  • ff2363c876 Merge pull request #41 from sharelatex/bg-error-on-null-bytes Brian Gough 2017-06-06 09:21:33 +01:00
  • 5a75663a0c Do bulk rejects in reverse order. Paulo Reis 2017-06-05 17:17:47 +01:00
  • 673f4228ce add metric for unlock errors Brian Gough 2017-06-05 16:29:58 +01:00
  • e616a62d68 Save entry ids inside entry object, not only as the key. Paulo Reis 2017-06-05 16:29:55 +01:00
  • f7ad4a4786 WIP: basically working, with client sync Shane Kilkelly 2017-06-05 14:48:50 +01:00
  • cb1745a1e6 Fix redirect in clone project modal James Allen 2017-06-05 13:33:32 +01:00
  • d7981fd2d4 Merge pull request #512 from sharelatex/ja-project-name-validation James Allen 2017-06-05 11:55:39 +01:00
  • 51881dbbcc Only load labels from current doc if change is local Shane Kilkelly 2017-06-05 11:09:58 +01:00
  • d4ac91f75e Use correct handlers in directives. Paulo Reis 2017-06-05 10:52:11 +01:00
  • 6c3cdbcc3a Remove dead code, backend does not send single change events anymore. Paulo Reis 2017-06-05 10:43:03 +01:00
  • 8d8bcab1e8 Consolidate change accept and reject code. Paulo Reis 2017-06-05 10:41:59 +01:00
  • f29320dd93 Add ability to load labels from single document Shane Kilkelly 2017-06-05 09:26:13 +01:00
  • 4cb41a988a WIP: initial work on server-side labels Shane Kilkelly 2017-06-02 15:12:59 +01:00
  • e8dfe3099f add missing callback for null byte check Brian Gough 2017-06-02 14:13:33 +01:00
  • e2edf4184f Explicit naming. Paulo Reis 2017-06-02 11:43:43 +01:00
  • 0e498d5e65 Merge branch 'master' of github.com:sharelatex/web-sharelatex Shane Kilkelly 2017-06-02 09:55:30 +01:00
  • 51e3a6b3a3 Don't use String.startsWith, use slice instead. Shane Kilkelly 2017-06-02 09:54:48 +01:00
  • 26260fc11f Prevent aggregation of changes from different users. Paulo Reis 2017-06-01 16:33:50 +01:00
  • b2a7686204 DRYness. Paulo Reis 2017-06-01 15:28:37 +01:00
  • 2a0454f2f1 Integrate aggregate changes with bulk actions. Paulo Reis 2017-06-01 15:18:43 +01:00
  • 1490ea7b04 Change aggregated change model: the main change is now the insertion, deletion is stored in metadata. Paulo Reis 2017-06-01 15:03:37 +01:00
  • b71a15a6a0 null byte check for JSON.stringify in archiving Brian Gough 2017-06-01 13:36:13 +01:00
  • 11c0644490 Aggregate changes; make accept and reject work. Paulo Reis 2017-06-01 11:47:55 +01:00
  • ab6fe1d948 check for null bytes from JSON.stringify Brian Gough 2017-06-01 11:27:56 +01:00
  • 7ecb4128de Merge pull request #48 from sharelatex/bg-check-doc-in-project-set Brian Gough 2017-06-01 09:23:29 +01:00
  • 6feb6959a3 Merge pull request #517 from sharelatex/pr-fix-error-banner-clicks Shane Kilkelly 2017-06-01 09:15:46 +01:00
  • 6b746f757e Merge pull request #514 from sharelatex/ja-update-raven Shane Kilkelly 2017-06-01 09:13:40 +01:00
  • 5847973615 Merge pull request #515 from sharelatex/ja-editable-asy-files Shane Kilkelly 2017-06-01 09:13:25 +01:00
  • 9a15420c4e Merge branch 'master' into sk-labels-autocomplete Shane Kilkelly 2017-06-01 08:34:56 +01:00
  • 3cf8f26583 Add collapse and expand behaviour to aggregate change entries. Paulo Reis 2017-05-31 16:23:24 +01:00
  • 729216c9b1 add unit tests for DocsIn check Brian Gough 2017-05-31 16:08:45 +01:00
  • 12e8eaa9b6 fix bug in doclines check Brian Gough 2017-05-31 16:08:33 +01:00
  • b6cef2e3d7 Include directive; add some styling. Paulo Reis 2017-05-31 15:53:14 +01:00
  • bed64d26c8 check if doc is missing from DocsIn set Brian Gough 2017-05-31 15:33:59 +01:00
  • a6108480f5 Add directive to show change entries. Paulo Reis 2017-05-31 14:47:25 +01:00
  • 8d8f441ff8 Merge pull request #58 from sharelatex/bg-check-dir-before-synctex Brian Gough 2017-05-31 10:16:06 +01:00
  • 550979991f check directory exists and bail out on error Brian Gough 2017-05-24 10:03:53 +01:00
  • 411860cfb0 Merge pull request #59 from sharelatex/bg-reduce-clsi-error-reporting Brian Gough 2017-05-30 15:39:04 +01:00
  • fa089dc28d avoid graphite drift in active worker count Brian Gough 2017-05-30 14:36:51 +01:00
  • 9a8c0fda10 Merge pull request #47 from sharelatex/bg-limit-worker-calls Brian Gough 2017-05-30 13:58:54 +01:00
  • 039d18bf8b Simplify logic for deciding whether to re-scan doc on not Shane Kilkelly 2017-05-26 15:08:38 +01:00
  • 891ffda3bf put a rate limit on worker calls Brian Gough 2017-05-26 12:10:57 +01:00
  • faf0337ca9 Refactor labels autocomplete Shane Kilkelly 2017-05-26 14:56:38 +01:00
  • 17acede8ce Control visibility when there are no entries. Paulo Reis 2017-05-26 09:58:12 +01:00
  • 104bcc94f5 Merge pull request #510 from sharelatex/pr-hide-review-panel Paulo Jorge Reis 2017-05-26 09:40:11 +01:00
  • 7fbf6d97bd Merge branch 'master' into pr-hide-review-panel Paulo Reis 2017-05-26 09:39:29 +01:00
  • 749fc6a425 Make the alerts container a zero-height static element, to avoid capturing clicks. Paulo Reis 2017-05-25 16:10:10 +01:00
  • 7923450e25 Move labelsManager into aceEditor directory Shane Kilkelly 2017-05-25 09:42:07 +01:00
  • 0543f32ff0 Add comment explaining debounce Shane Kilkelly 2017-05-25 09:35:38 +01:00
  • ea9a0dda83 More robust change detection for autocomplete. Shane Kilkelly 2017-05-25 09:33:15 +01:00