Commit Graph

2910 Commits

Author SHA1 Message Date
Brian Gough f70ab03bd8 show an error if the main file cannot be found
also improve logic for detecting the main file, if there's only one file
it must be the main file.
2017-10-17 15:47:50 +01:00
Alasdair Smith 60c297eac8 Also prevent rollout to modulo 0 users 2017-10-16 13:40:09 +01:00
Alasdair Smith abb21ac96b Fix autocompile rollout logic 2017-10-16 12:44:11 +01:00
Alasdair Smith 5d3371a52c Merge pull request #38 from sharelatex/as-autocompile-rollout
Rollout for auto compile; Connects to #20
2017-10-16 10:48:43 +01:00
Alasdair Smith 625f52c248 Update cutoff date 2017-10-16 10:28:42 +01:00
Alasdair Smith e02c3bbb09 Remove beta program badge 2017-10-16 10:27:33 +01:00
Brian Gough 4ce639db70 Merge pull request #58 from sharelatex/bg-rate-limit-autocompile
fix two bugs in auto compile limit logic
2017-10-13 08:18:31 +01:00
Alasdair Smith 36e1fafb60 Set proportion to 0 2017-10-12 17:10:41 +01:00
James Allen f0079bb7a4 Merge pull request #41 from sharelatex/ja-transfer-projects
Add method to transfer projects from one user_id to another
2017-10-12 16:27:00 +01:00
Brian Gough fc3ecddd0e fix two bugs in auto compile limit logic
1. the compileGroup is "standard" not default
2. was not excluding normal compiles from metrics
2017-10-12 16:18:14 +01:00
Brian Gough 18370076a2 Merge pull request #45 from sharelatex/bg-auto-doc-flush
allow docupdater to flush docs in background (connects to overleaf/sharelatex#190)
2017-10-12 14:48:16 +01:00
Brian Gough 45ed090326 Merge pull request #37 from sharelatex/bg-rate-limit-autocompile
rate limit autocompile (connects to #18)
2017-10-12 09:25:59 +01:00
Brian Gough c913ec69ef Merge pull request #34 from sharelatex/bg-fix-double-callback-in-resources-check
fix double callback in resources check (connects to #18)
2017-10-12 09:20:05 +01:00
Brian Gough cf25ff058f use new endpoint docupdater get_and_flush_if_old 2017-10-11 16:05:28 +01:00
Alasdair Smith 5047213c3c Change rollout detection to account for changes in proportion preserving rolled out users 2017-10-11 14:47:39 +01:00
Hayden Faulds 4e0a159db4 Merge pull request #40 from sharelatex/hof-pathname-for-doc-store
return pathname from DocumentController.getDoc
2017-10-11 09:52:56 +01:00
Brian Gough 5b0d3d1429 simplify rate-limit checking code 2017-10-09 16:31:01 +01:00
Brian Gough ea89638010 rename autocompile_disabled to autoCompileDisabled
for consistency
2017-10-09 15:21:01 +01:00
Brian Gough 9eec245358 allow docupdater to flush docs in background 2017-10-09 14:17:28 +01:00
James Allen 3c54419eb3 Remove commented debug code 2017-10-05 16:12:26 +01:00
James Allen 9c1faa4395 Add method to transfer projects from one user_id to another 2017-10-05 14:26:34 +01:00
Alasdair Smith 550e7d75ca Check if user is part of autocompile rollout when showing setting or running autocompile 2017-10-03 17:19:51 +01:00
Alasdair Smith 8366ea271f Restrict autocompile onboarding to users in rollout (factor of 100) 2017-10-03 17:08:19 +01:00
Brian Gough 2723537f82 disable autocompile when rate limit is hit 2017-10-03 16:23:49 +01:00
Brian Gough d14723f24a add rate limits for autocompiles
global rate limit for all users and a lower rate limit for free users
2017-10-03 16:16:21 +01:00
Paulo Jorge Reis 05f9e9b2c1 Merge pull request #27 from sharelatex/as-autocompile-onboarding
Autocompile onboarding
2017-10-03 11:09:51 +01:00
Alasdair Smith 91e0397bf5 Update signup date check to today 2017-10-03 10:48:59 +01:00
Alasdair Smith a3800a321b Add beta program badge on autocompile popover & setting 2017-10-02 14:12:18 +01:00
Alasdair Smith a69afae03d Remove unnecessary arrow elem 2017-10-02 13:49:28 +01:00
Brian Gough bd005d7bb6 fix double callback in precompile resources check 2017-10-02 10:14:52 +01:00
Hayden Faulds bf1c24f6f9 return pathname from DocumentController.getDoc 2017-09-29 15:37:10 +01:00
Alasdair Smith a4fa713f38 Fix typo 2017-09-29 11:18:44 +01:00
Alasdair Smith ab7d83b1c5 Switch to translations 2017-09-29 10:59:01 +01:00
Alasdair Smith dd7e6f0612 Make class names more consistent & switch to JS targeting through id 2017-09-29 10:49:45 +01:00
Brian Gough c50f309b09 add missing whitespace in pdf.pug 2017-09-28 15:12:37 +01:00
Alasdair Smith 3e2388a7de Don't show autocompile for users signed up after release date 2017-09-28 13:57:15 +01:00
Alasdair Smith f2c0bf5515 First pass at getting onboarding shown event from analytics 2017-09-28 13:04:18 +01:00
Alasdair Smith d9af9e723b Clean up popover wrapper 2017-09-28 12:12:48 +01:00
Alasdair Smith 2d5a61f5b6 Determine placement of popover based on width of pdf panel 2017-09-28 11:32:38 +01:00
Alasdair Smith fcc2db9ea7 Use width of button instead of hardcoded 2017-09-28 11:13:49 +01:00
Alasdair Smith 7e407621e9 Position onboarding popover after measuring position 2017-09-28 11:13:49 +01:00
Alasdair Smith 3259b871c0 Dismiss autocompile onboarding 2017-09-28 11:13:49 +01:00
Alasdair Smith 9386ddf4a9 Only show autocompile onboarding when first manual compile is run 2017-09-28 11:13:49 +01:00
Alasdair Smith 316cf07225 Add AutoCompileOnboardingController 2017-09-28 11:13:49 +01:00
Alasdair Smith 8d2a451b44 First pass at autocompile onboarding popover 2017-09-28 11:13:49 +01:00
Alasdair Smith afff8ddf29 Pass (dummy) autocompile onboarding 2017-09-28 11:13:49 +01:00
Brian Gough 13628f82ec Merge pull request #17 from sharelatex/bg-lock-compiles
show error for compile in progress
2017-09-27 13:54:16 +01:00
Hayden Faulds 4adf88ca01 handle OL or SL ids in UserInfoController.getPersonalInfo 2017-09-26 11:40:05 +01:00
Hayden Faulds 2c0e9bb89a return overleaf details from ProejctsDetailsHandler.getdetails 2017-09-26 10:19:30 +01:00
Brian Gough 0f855689a7 show error for compile in progress 2017-09-26 08:07:35 +01:00