Commit Graph

6049 Commits

Author SHA1 Message Date
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
Paulo Reis 500dcc5bc2 Quick accessibility fixes for the dashboard. 2017-10-09 11:59:03 +01:00
Shane Kilkelly 1a4ffe7708 Remove un-necessary call to getProject from archiveProject path 2017-10-09 11:30:55 +01:00
Shane Kilkelly ad68adee9a Add more commentary on the anonymous path 2017-10-09 11:13:55 +01:00
Shane Kilkelly e73de3bfd4 Fix whitespace in function signature 2017-10-09 10:57:23 +01:00
Shane Kilkelly 732ce9417b Don't create tokens on project by default 2017-10-09 10:25:20 +01:00
Nate Stemen cfca4b5d6c modified labels service to include packages aware autocompletion 2017-10-06 17:15:50 +01:00
Shane Kilkelly d386f79a76 Clean up 2017-10-06 16:10:33 +01:00
Shane Kilkelly 91abb6eed6 If project is not tokenBased, don't count members of token arrays 2017-10-06 15:57:22 +01:00
Shane Kilkelly 387854db7a Fix an embarassing mistake, generate tokens dynamically, not once. 2017-10-06 13:24:10 +01:00
Paulo Reis 045fae7109 Some more adjustments to make the SL theme closer to original. 2017-10-06 10:50:59 +01:00
Paulo Reis 9047e9a365 Make SL theme closer to original. 2017-10-05 18:16:52 +01:00
Paulo Reis 60a76c45c3 Some more footer adjustments. 2017-10-05 16:41:11 +01:00
Paulo Reis 15eb23da54 Overall project list page layout; flex-based, i.e. needs lots of testing 2017-10-05 16:35:53 +01:00
James Allen 3c54419eb3 Remove commented debug code 2017-10-05 16:12:26 +01:00
Paulo Reis 8b98455674 Adjustments to the folders menu. 2017-10-05 15:26:49 +01:00
Shane Kilkelly 1500976226 Add temporary text to share modal 2017-10-05 14:47:50 +01:00
James Allen 9c1faa4395 Add method to transfer projects from one user_id to another 2017-10-05 14:26:34 +01:00
Nate Stemen 507bb568a3 labels -> metadata 2017-10-05 14:19:30 +01:00
Shane Kilkelly bb0dad3353 Safe access to potentially-null project 2017-10-05 14:19:21 +01:00
Shane Kilkelly b8d90a1a99 Show token-access projects on the dashboard 2017-10-05 13:20:06 +01:00
Shane Kilkelly e4e558c0e6 Hide access tokens if user is not the project owner.
This prevents sneaky read-only users from sniffing out the read-write
link via the browser console.
2017-10-05 13:18:30 +01:00
Nate Stemen e53a24f8f5 starting to generalize from labels to metadata 2017-10-04 17:56:43 +01:00
Shane Kilkelly 6482cd7dd8 Generate tokens on old projects if they're not present 2017-10-04 16:31:24 +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
Shane Kilkelly b6c2a8f7f7 Tidy up callbacks 2017-10-03 14:14:22 +01:00
Shane Kilkelly 7b33f8b4c2 Unit test TokenAccessController 2017-10-03 14:04:59 +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
Shane Kilkelly ede497f4b3 Unit test TokenAccessHandler 2017-10-03 10:02:26 +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
Shane Kilkelly 9f24f696a5 Use custom header, send anonToken in payload to joinProject 2017-09-29 16:32:07 +01:00
Shane Kilkelly 34d4d1360f Anon read-token: add an Authorization header to $http 2017-09-29 15:54:55 +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
Shane Kilkelly e04d10d11f Styling of link-share, and fix read-only link 2017-09-29 10:59:30 +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
Shane Kilkelly df338ebd6d Show tokens in share modal 2017-09-29 10:11:23 +01:00
Shane Kilkelly 9810f63245 Render editor for token access, stub out ui changes 2017-09-28 16:06:08 +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