Paulo Jorge Reis
e4e6c58423
Merge pull request #280 from sharelatex/pr-user-segmentation
...
User segmentation
2016-07-14 10:15:16 +01:00
Paulo Jorge Reis
0b21f8f4f1
Merge pull request #279 from sharelatex/pr-track-trial-start
...
Track trial start and subscription
2016-07-14 10:14:49 +01:00
Paulo Reis
ab995671fc
Namespace feature flags.
2016-07-14 10:10:14 +01:00
Paulo Reis
5d5bc57535
Add user name.
2016-07-14 09:55:11 +01:00
Paulo Reis
fee22db567
Refactor user blocks into a single script tag.
2016-07-14 09:47:25 +01:00
Paulo Reis
a261de9eb1
Set feature flags.
2016-07-14 09:37:04 +01:00
Paulo Reis
68906cb0c5
Avoid unneeded change_id event; id can be set as a Countly property, before initializing.
2016-07-13 16:29:53 +01:00
Brian Gough
d53fa5de47
avoid exception in pdf viewer when no visible pages
2016-07-13 14:14:51 +01:00
Brian Gough
d8c11a0824
fix scope for pdf page load error handler
2016-07-13 14:04:58 +01:00
Paulo Reis
688eebf469
Merge branch 'pr-track-trial-start' of github.com:sharelatex/web-sharelatex into pr-track-trial-start
2016-07-13 09:49:57 +01:00
Paulo Reis
4801d8c1c2
Track subscription form page flow.
2016-07-12 17:33:24 +01:00
Paulo Reis
0542d9e05d
Track trials starts, with source.
2016-07-12 17:33:00 +01:00
Paulo Reis
b2da63f532
Track trials starts, with source.
2016-07-12 16:41:22 +01:00
Brian Gough
2e646729d1
avoid clobbering file urls in download dropdown
2016-07-12 14:37:08 +01:00
Henry Oswald
713f2110c1
use translations for title and meta description (google)
2016-07-12 14:25:25 +01:00
Paulo Reis
8eae4e4044
Revert "Use custom shrinkwrap to ignore the translations package."
...
This reverts commit 25a8a7cd9a59f738277ce893318c69db539384d6.
2016-07-12 13:42:46 +01:00
Paulo Reis
112a64ce84
Use custom shrinkwrap to ignore the translations package.
2016-07-12 13:37:26 +01:00
Paulo Jorge Reis
b3acf011ab
Merge pull request #276 from sharelatex/pr-contact-form-suggestions
...
Contact form suggestions
2016-07-12 11:53:05 +01:00
Brian Gough
8c9fcfdd60
remove sentry downsampling on pdf errors
...
load errors should be less frequent now
2016-07-12 11:51:30 +01:00
Brian Gough
7555382e33
remove the render timeout
...
pdfjs uses requestAnimationFrame to schedule the rendering, and this
does not fire if the tab is inactive. That causes an unwanted error if
switching tabs for more than the one minute timeout.
2016-07-12 11:51:30 +01:00
Brian Gough
0ae639f1c3
enable per-page pdf downloads by default
2016-07-12 11:51:30 +01:00
Paulo Reis
1e62ce679b
Make 'knowledge base' a link to the KB index page.
2016-07-12 11:44:48 +01:00
Paulo Reis
61b57905cb
Merge branch 'master' into pr-contact-form-suggestions
2016-07-12 10:48:37 +01:00
Henry Oswald
a9f3a29b72
moved translations to dev dependency so its not included in shrinkwrap.
2016-07-12 10:17:58 +01:00
Paulo Reis
785bf1b5a2
New key for the message label.
2016-07-11 16:24:06 +01:00
Paulo Reis
02ba277473
Small styling fixes.
2016-07-11 16:21:35 +01:00
Brian Gough
b546c5eee9
cleanup, remove comments
2016-07-11 15:07:06 +01:00
Brian Gough
4b1ec24bc0
cancel existing load/render tasks correctly
2016-07-11 15:01:58 +01:00
Brian Gough
f68ab1e508
improve loading indicators
2016-07-11 15:01:24 +01:00
Paulo Reis
af93ac4413
Track suggestions usage.
2016-07-11 14:27:07 +01:00
Paulo Reis
9ef78b4bc2
Merge branch 'master' into pr-contact-form-suggestions
2016-07-11 13:54:06 +01:00
Paulo Reis
fb7c437098
Make other Algolia clients use the common factory.
2016-07-11 12:31:52 +01:00
Paulo Reis
bf67fedc73
Centralize Algolia methods in a common factory.
2016-07-11 12:24:48 +01:00
Brian Gough
379e6d2f90
nullify highlight timeout after clearing it
2016-07-11 12:17:49 +01:00
Brian Gough
ad83784a81
remove the renderTimer
...
only display the page when it is fully rendered
2016-07-11 12:17:49 +01:00
Brian Gough
70a82c10ce
cleanup pdfJs
2016-07-11 12:17:49 +01:00
Brian Gough
41b0309e6e
show progress bar when loading starts
2016-07-11 12:17:49 +01:00
Brian Gough
a4cd5c90c3
only process the render queue after we stop moving
2016-07-11 12:17:49 +01:00
Brian Gough
eaca616dd3
use progress bar for initial loading
2016-07-11 12:17:49 +01:00
Brian Gough
b8f677ac7c
replace canvas with rendered page after 1 second
2016-07-11 12:17:49 +01:00
Brian Gough
0e550ac012
add spinner for loading, initially static
2016-07-11 12:17:49 +01:00
Brian Gough
c657a02db5
render offscreen pages
2016-07-11 12:17:49 +01:00
Brian Gough
83ea771aef
include start method for spinner
2016-07-11 12:17:49 +01:00
Brian Gough
8c81f0a9ff
prerender offscreen pages
2016-07-11 12:17:49 +01:00
Henry Oswald
6b2a11a4d4
use https for google fonts
2016-07-11 12:13:01 +01:00
Paulo Reis
7eafa5ca3f
Make Countly server configurable via settings.
2016-07-11 11:02:52 +01:00
Henry Oswald
c7506391ca
optimised oxford gif
2016-07-10 11:12:57 +01:00
Henry Oswald
94d760e32d
import bootstrap font awseome via less not html
2016-07-10 11:10:43 +01:00
Henry Oswald
85936a1391
moved css min to exec, import was not working via grunt
2016-07-10 11:04:51 +01:00
Paulo Reis
444120f8b1
Merge branch 'master' into pr-contact-form-suggestions
2016-07-08 13:55:08 +01:00
Paulo Reis
e1fb4a51c6
Identify sampled events.
2016-07-08 11:17:18 +01:00
Paulo Jorge Reis
c5cf151add
Merge pull request #275 from sharelatex/pr-separate-events-log-hints-feedback
...
Track positive and negative feedback as different events
2016-07-08 10:54:02 +01:00
Paulo Reis
c67ad84be8
Track positive and negative feedback as different events.
2016-07-08 10:26:40 +01:00
Paulo Reis
dfe9e05abe
Use sampled tracking in editor recompiles.
2016-07-08 10:07:45 +01:00
Paulo Reis
07cce99c17
Add sampled tracking method.
2016-07-08 10:06:46 +01:00
Paulo Jorge Reis
3a24c4bff9
Merge pull request #272 from MCribbin/patch-2
...
Update HumanReadableLogsRules.coffee
2016-07-07 13:39:44 +01:00
Shane Kilkelly
0e9beb5653
remove daft redundancy.
2016-07-07 09:42:01 +01:00
Shane Kilkelly
896cbb5f4c
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-07-07 09:35:53 +01:00
Shane Kilkelly
9e35bdcaea
Refactor: add ?
suffix to truth tests.
2016-07-07 09:35:44 +01:00
MCribbin
b62fbd4d3f
Update HumanReadableLogsRules.coffee
2016-07-06 16:18:27 +01:00
Paulo Jorge Reis
efacd9e7f2
Merge pull request #267 from sharelatex/pr-log-dropdown
...
"Other logs & files" dropdown / dropup
2016-07-06 16:06:10 +01:00
MCribbin
dadee03ca3
Update HumanReadableLogsRules.coffee
...
Added new linke for LaTeX Error: Unknown float option `q'.
Changed hint for "No positions in optional float specifier" to include quick fix (will probably need some clearer way of saying which square brackets need to be removed)
2016-07-06 15:57:56 +01:00
Paulo Reis
54ec75d36a
Avoid line-breaks when showing the log icon.
2016-07-06 15:55:36 +01:00
Shane Kilkelly
21eb104928
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-07-06 15:39:12 +01:00
Shane Kilkelly
dda0841af3
Return early if there are no keys to delete
2016-07-06 15:39:03 +01:00
Paulo Reis
b867c37d49
Merge branch 'master' into pr-log-dropdown
2016-07-06 15:35:28 +01:00
Paulo Jorge Reis
59065395ef
Merge pull request #273 from sharelatex/pr-countly-integration
...
Countly integration
2016-07-06 15:00:47 +01:00
Paulo Reis
7a3d3d3ffd
Make Countly track by internal ids.
2016-07-06 14:44:28 +01:00
Paulo Reis
8e2475afdc
Track hints feedback in both GA and Countly; clean-up.
2016-07-06 14:24:50 +01:00
MCribbin
95f1435920
Update HumanReadableLogsRules.coffee
2016-07-06 14:16:21 +01:00
Shane Kilkelly
fc6cf75ad5
Merge branch 'master' into sk-session-revocation
2016-07-06 13:19:15 +01:00
Paulo Reis
0dd3a70b4b
Use Countly tracking method where appropriate.
2016-07-06 12:32:33 +01:00
Paulo Reis
b841d41b68
Actually send the data to Countly.
2016-07-06 12:26:21 +01:00
Shane Kilkelly
9f724d0a04
Add tests to check if users can access a restricted page.
2016-07-06 12:14:01 +01:00
Paulo Reis
5c121a5f05
Track user log in and sign up.
2016-07-06 12:12:54 +01:00
Paulo Reis
7e1c1f7414
Remove heap integration.
2016-07-06 12:12:22 +01:00
Paulo Reis
c9b1faa1a1
Add user info to correlate with events.
2016-07-06 11:59:33 +01:00
Paulo Reis
909f7c15b5
Track log-related actions.
2016-07-05 16:27:14 +01:00
Paulo Reis
d5efe81a46
Track recompiles.
2016-07-05 16:02:46 +01:00
Paulo Reis
96f6603bd3
Track settings changes.
2016-07-05 15:37:13 +01:00
Shane Kilkelly
0362fee60f
test the retain
option to revokeAllUserSessions
.
2016-07-05 15:32:32 +01:00
Paulo Reis
304529754d
Track editor modals.
2016-07-05 15:16:55 +01:00
Shane Kilkelly
464866847f
Fix name of UserSessionsManager test module.
2016-07-05 15:14:29 +01:00
Paulo Reis
71b8f86e89
Track editor macro views.
2016-07-05 15:07:16 +01:00
Shane Kilkelly
a1c662b9d8
Test session revocation on password change.
2016-07-05 14:55:08 +01:00
Shane Kilkelly
3f1a47eccb
map the 'retain' values to session ids
2016-07-05 14:54:26 +01:00
Paulo Reis
a40cbdd84e
Track share modal opening.
2016-07-05 14:32:56 +01:00
Shane Kilkelly
2caa80bbcb
acceptance test for logging in two sessions.
2016-07-05 14:21:38 +01:00
Shane Kilkelly
5b9903551a
add an array of session ids to retain.
2016-07-05 14:20:47 +01:00
Shane Kilkelly
6e282ab308
clear sessions on password reset
2016-07-05 14:19:59 +01:00
Paulo Reis
fac3698c40
Better namespacing of sprite CSS classes.
2016-07-05 11:08:58 +01:00
Shane Kilkelly
bec3d2ad42
start acceptance tests for sessions
2016-07-05 10:24:24 +01:00
Paulo Reis
7dd1906eaf
Initial Countly integration.
2016-07-04 16:51:31 +01:00
Paulo Reis
040739ef7f
Comment out sprity and leave a not in README.md.
2016-07-04 16:03:29 +01:00
Shane Kilkelly
df0a7bc547
test the _checkSessions
function.
2016-07-04 14:04:10 +01:00
Shane Kilkelly
699ba21032
test revokeAllUserSessions
2016-07-04 11:15:28 +01:00
Shane Kilkelly
dfcb47fb5c
test untrackSession
2016-07-04 10:56:13 +01:00
Shane Kilkelly
2ae2e6ed4f
Test trackSession
2016-07-04 10:37:01 +01:00
Shane Kilkelly
a869c99c60
Begin testing UserSessionsManager
.
2016-07-04 10:05:34 +01:00
Shane Kilkelly
5a1af9a5f3
check sessions on login and logout.
2016-07-04 09:27:38 +01:00
Paulo Reis
11f198d970
Merge branch 'master' into sprites
2016-07-01 16:27:09 +01:00
Paulo Reis
64a73b0356
Disable default 4px margin on grunt-sprity, also add the built files.
2016-07-01 16:02:40 +01:00
Paulo Reis
4f49a25639
Use a figure element instead of an img, as there is no src attribute.
2016-07-01 16:02:01 +01:00
Shane Kilkelly
6f20f565fe
Add early-return guards
2016-07-01 15:55:50 +01:00
Shane Kilkelly
0ac9b05d02
Add ip_address
and session_created
to the session user object.
2016-07-01 15:49:07 +01:00
Shane Kilkelly
f1653d01b7
Refactor method names in UserSessionsManager
2016-07-01 15:33:59 +01:00
Henry Oswald
6f4a7f4779
mvp for using sprites for flags, needs border removing
2016-07-01 15:04:39 +01:00
Shane Kilkelly
6938f1d055
No need to build extra string
2016-07-01 15:04:13 +01:00
Shane Kilkelly
8855d0fa0f
Clear out sessions
2016-07-01 13:38:13 +01:00
Shane Kilkelly
5ae0aeaf94
Fix logging.
2016-07-01 13:37:56 +01:00
Shane Kilkelly
d8ffa5b4b1
set expiry on the user sessions set.
2016-07-01 11:24:46 +01:00
Shane Kilkelly
ab26edb44b
Adjust UserController unit tests
2016-07-01 10:20:22 +01:00
Shane Kilkelly
88bef5c5ea
Add revokeAllSessions
handler, when password is reset
2016-07-01 09:51:22 +01:00
Brian Gough
ea942fe255
Merge pull request #269 from sharelatex/remove-migration-to-per-user-containers
...
remove scaffolding for per-user compiles so that it is always by default
2016-06-30 15:16:28 +01:00
Brian Gough
73ad1fde5c
comment out disabling of per user compiles
2016-06-30 15:15:37 +01:00
Henry Oswald
7cb266d904
removed imagemin
2016-06-30 14:59:05 +01:00
Brian Gough
c04e00026b
remove scaffolding for per-user compiles so that it is always by default
2016-06-30 14:43:03 +01:00
James Allen
882e28a811
Don't choke on null projects
2016-06-30 14:30:04 +01:00
James Allen
b76cc7e314
Remove a user from being a collaborator when their account is deleted
2016-06-30 14:21:44 +01:00
James Allen
a0fcc7e3ed
Skip null user objects when getting collaborators
2016-06-30 13:56:21 +01:00
Paulo Reis
d93c96d43c
Improve log hints ids.
2016-06-30 11:30:43 +01:00
Paulo Reis
c5f53ef431
Track log hints feedback.
2016-06-30 11:30:30 +01:00
Henry Oswald
05dedeebb8
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-06-29 15:36:53 +01:00
Henry Oswald
000c862ae1
return 404 if blog returns 403, caused by file not existing
2016-06-29 15:36:33 +01:00
Shane Kilkelly
03fedafaf5
save the session key string, rather than just the id
2016-06-29 15:12:12 +01:00
Paulo Reis
536c1ac65e
Merge branch 'pr-project-filepath-regex'
2016-06-29 14:19:37 +01:00
Paulo Reis
36e09e3b0c
Make the user id portion of the path optional.
2016-06-29 14:19:16 +01:00
Brian Gough
16b58a9420
Merge pull request #268 from sharelatex/per-user-containers-part-3
...
add support for on-demand viewing of pdfs for per-user compiles
2016-06-29 14:16:24 +01:00
Paulo Reis
72d498c6c8
Merge branch 'master' into pr-contact-form-suggestions
2016-06-29 11:58:07 +01:00
Paulo Reis
f50c73642a
Integrate with KB index.
2016-06-29 11:57:43 +01:00
Shane Kilkelly
db213c0621
Begin keeping record of user sessions in reds.
2016-06-29 11:35:25 +01:00
Paulo Reis
d037cb93a9
Wiki styles clean-up.
2016-06-29 10:42:51 +01:00
Paulo Reis
5ad0c06770
Regex now matches new folder nomenclature.
2016-06-28 17:19:02 +01:00
Henry Oswald
8f14526354
added custom footer in email option
2016-06-28 17:07:27 +01:00
Henry Oswald
88fb955884
hook notifications handler up to make request which doesn't make request if url not set
2016-06-28 16:52:27 +01:00
Paulo Reis
a6d184358f
Avoid inline-styles.
2016-06-28 15:51:50 +01:00
Paulo Reis
88564ea126
Dynamically determine if the files dropdown should drop up or drop down.
2016-06-28 15:48:11 +01:00
Shane Kilkelly
9e16f250f9
Merge branch 'sk-subscription-address'
2016-06-28 14:16:34 +01:00
Shane Kilkelly
6581bc4ecf
set postal_code as zip
2016-06-28 14:15:47 +01:00
Shane Kilkelly
465d09dcfe
Test the createSubscription action (+4 squashed commits)
...
Squashed commits:
[fc9c8f9] Add tests for createBillingInfo
[db9f90e] Test the createSubscription stage
[c17151d] Check that userExists gets set
[1367c96] Act on buddy-check feedback
2016-06-28 13:59:52 +01:00
Paulo Reis
4263d3f8c6
Merge branch 'master' into pr-overflowing-images-wiki
2016-06-28 11:58:58 +01:00
Paulo Reis
86a8a180a8
Merge branch 'master' into pr-toggle-comment-keybinding-windows
2016-06-28 11:37:46 +01:00
Brian Gough
e0d262a6d8
fix shrinkwrap file
2016-06-28 11:18:20 +01:00
Paulo Reis
616fd5daf6
Merge branch 'master' into pr-ui-feedback-error-nav
2016-06-28 10:50:23 +01:00
Paulo Reis
d6067b86ac
Merge branch 'master' into pr-ui-feedback-error-nav
2016-06-28 10:49:55 +01:00
Brian Gough
2b23e13619
Merge pull request #261 from sharelatex/use-parameter-for-bcrypt-rounds
...
use parameter for bcrypt rounds, rehash passwords on login if necessary
2016-06-28 10:49:33 +01:00
Brian Gough
afc89d8d27
added missing package grunt-execute
2016-06-28 10:42:36 +01:00
Brian Gough
6e187e3996
added npm shrinkwrap file
2016-06-28 10:42:36 +01:00
James Allen
883a9b512a
Merge pull request #265 from MCribbin/patch-1
...
Update HumanReadableLogsRules.coffee
2016-06-28 10:33:24 +01:00
Shane Kilkelly
e194de50cf
test _paypal.checAccountExists
.
2016-06-28 10:17:06 +01:00
Henry Oswald
b8b833b753
moved wiki into module
2016-06-28 10:16:02 +01:00
Paulo Reis
da960a721f
Vertical layout for LaTeX examples.
2016-06-28 10:09:12 +01:00
Shane Kilkelly
6bdfedc1b0
Test when a paypal stage produces an error
2016-06-28 09:09:57 +01:00
Shane Kilkelly
d21eb1b07f
Add tests
2016-06-28 09:04:19 +01:00
Brian Gough
8d32fa1e87
enable per-user containers by default
2016-06-28 08:40:30 +01:00
Shane Kilkelly
709f8f2bea
start testing the paypal workflow.
2016-06-27 16:34:00 +01:00
Paulo Reis
6a8499f515
Merge branch 'master' into pr-toggle-comment-keybinding-windows
2016-06-27 15:39:35 +01:00
Paulo Reis
3580d8377f
Merge branch 'master' into pr-contact-form-suggestions
2016-06-27 15:39:00 +01:00
Paulo Reis
d7f67e7931
Integrate translations.
2016-06-27 15:38:13 +01:00
Paulo Reis
0551f27c83
Extra search options; only search after three chars have been entered.
2016-06-27 14:46:34 +01:00
Shane Kilkelly
3bf8da3e83
test _createCreditCardSubscription
2016-06-27 14:45:17 +01:00
Shane Kilkelly
2c1b326681
test the createSubscription
function.
2016-06-27 14:29:19 +01:00
Shane Kilkelly
95d85538cc
Clean up xml text block in test.
2016-06-27 14:00:30 +01:00
Shane Kilkelly
d853eb5916
Update existing RecurlyWrapper tests.
2016-06-27 13:54:54 +01:00
Brian Gough
8b15d40f8b
add word count to per-user container
2016-06-27 12:41:50 +01:00
Shane Kilkelly
401565ba23
Fix references to the RecurlyWrapper object.
2016-06-27 12:14:43 +01:00
Paulo Reis
81b93ab5a9
Disable links to the docs when the wiki is not available.
2016-06-27 11:34:24 +01:00
Shane Kilkelly
eb92cfe8e0
Remove the postal_code from test, until recurly get back to us.
2016-06-27 10:40:08 +01:00
Shane Kilkelly
9938787e4a
fix a few silly issues. Appears to work now
2016-06-27 10:38:10 +01:00
Paulo Reis
c2ace9a0a0
Restrict # of hits returned; clear results on empty search string.
2016-06-27 10:21:36 +01:00
Shane Kilkelly
72c73809f6
Generate address xml from object.
2016-06-27 09:44:40 +01:00
Henry Oswald
6526b29f96
add another null check on file inside fetchLogs
2016-06-25 13:56:45 +01:00
Paulo Reis
c82f4481e4
Show search results.
2016-06-24 17:10:18 +01:00
Paulo Reis
2c9812f62f
Add algolia search.
2016-06-24 17:10:07 +01:00
Paulo Reis
f427ce88d9
Better Jade syntax.
2016-06-24 16:37:35 +01:00
Paulo Reis
dfc375adf8
Add more feedback on :hover.
2016-06-24 15:55:19 +01:00
MCribbin
9a399ebd15
Update HumanReadableLogsRules.coffee
...
Space added after URL. '...' changed to '\u2026'
2016-06-24 15:50:23 +01:00
Henry Oswald
9888d6631a
don't error if references is not enabled
2016-06-24 15:46:37 +01:00
MCribbin
883ae307a9
Update HumanReadableLogsRules.coffee
...
Changed extraInfoURL links from /Errors:... to /Errors/...
Added math mode description to "Missing $ inserted." (humanReadableHint might be too long with this extra description)
2016-06-24 15:37:39 +01:00
Henry Oswald
6e59a10fb3
added more null checks for potential undefined notifications
2016-06-24 15:23:57 +01:00
Paulo Reis
c376c807d7
Forgotten href attribute.
2016-06-24 15:22:34 +01:00
Henry Oswald
51df3825e5
add null check on notifications handler
2016-06-24 15:11:22 +01:00
Henry Oswald
8d79b37651
return from _doIndexOperation if referneces is not setup eailer
2016-06-24 15:07:28 +01:00
Shane Kilkelly
026e9f46c8
WIP: process appears to work, setting address correctly
2016-06-24 15:03:46 +01:00
Henry Oswald
cc9f90c3e8
don't set referneces and notifications urls in default as open source does not use them yet
2016-06-24 15:03:15 +01:00
Shane Kilkelly
56bc840b88
WIP: fix up error handling and account for possibility of account already existing.
2016-06-24 14:11:28 +01:00
Paulo Reis
a33aeca9c3
Merge branch 'pr-latex-hints-improvements'
2016-06-24 14:07:57 +01:00
Henry Oswald
3887db8898
don't call notifications if notifications has no url
2016-06-24 14:06:04 +01:00
Paulo Reis
b4de353828
Merge branch 'master' into pr-latex-hints-improvements
2016-06-24 14:02:55 +01:00
Paulo Reis
d7a1c7f693
Inline links in the hint now match the theme.
2016-06-24 14:01:22 +01:00
Henry Oswald
90b605061b
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-06-24 13:35:27 +01:00
Henry Oswald
9a3e621c9c
stripe off errors and kb from page titles
2016-06-24 13:15:22 +01:00
Paulo Reis
5f7ffb5a8c
Make hint card area non-clickable.
2016-06-24 12:12:45 +01:00
Paulo Reis
e4a1443d1d
Better handling of whitespace.
2016-06-24 12:07:02 +01:00
Paulo Reis
91cbf2b321
Links within hint content also open in a new tab.
2016-06-24 11:56:31 +01:00
Shane Kilkelly
249381b6a8
WIP: initial work on sending address to recurly for paypal subscriptions
2016-06-24 11:42:58 +01:00
Paulo Reis
a587d5ddba
Set up model options.
2016-06-24 11:02:29 +01:00
Paulo Reis
3014808a07
Merge branch 'master' into pr-latex-hints-integration
2016-06-24 10:48:42 +01:00
Paulo Reis
2da9cdb0db
Hints as HTML.
2016-06-24 10:15:51 +01:00
Paulo Reis
9b25af3c8c
Consolidate rules related to too-strict float specifiers.
2016-06-23 16:57:05 +01:00
James Allen
da41e64e97
Update HumanReadableLogsRules.coffee
2016-06-23 16:52:02 +01:00
Henry Oswald
d294117286
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-06-23 16:40:22 +01:00
Henry Oswald
5371669f89
if references has no url don't send post, silently return
2016-06-23 16:39:54 +01:00
Paulo Reis
5a890d0d8b
Add log matching rules.
2016-06-23 16:39:05 +01:00
Paulo Reis
e51bdaaaaf
Fine tuning of styles.
2016-06-23 15:01:07 +01:00
Paulo Reis
f62a45444d
Prototype mark-up and styles.
2016-06-23 12:08:13 +01:00
Shane Kilkelly
cbdcc874e3
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-06-22 11:03:32 +01:00
Henry Oswald
50352c94f6
re minify aloglia and moment
2016-06-22 10:16:47 +01:00
James Allen
594ec9cbdd
Revert "minify algolia and moment.js"
...
This reverts commit f32a92b3c2b6c321ea7e7339110c644f9caa790c.
2016-06-22 08:00:25 +01:00
Paulo Reis
d6c966934d
Set the key binding which is reported on Windows.
2016-06-21 16:53:50 +01:00
James Allen
b693ced843
Merge pull request #263 from sharelatex/pr-human-readable-logs
...
Human readable logs
2016-06-21 14:28:06 +01:00
Paulo Reis
ed659fd973
Minor UI improvements.
2016-06-21 14:20:23 +01:00
Shane Kilkelly
6f07ea513e
Remove DataJoy link from the project page.
2016-06-21 13:28:08 +01:00
Henry Oswald
5800c88d80
Merge branch 'ha_custom_image_logo'
2016-06-21 12:07:49 +01:00
Paulo Reis
e607de0b91
Safety checks for non-existing values; avoid rendering the hint template when there is no hint.
2016-06-21 12:07:47 +01:00
Paulo Reis
1aa7d9c6b3
Explicitly set link color according to log entry type.
2016-06-21 10:49:24 +01:00
Paulo Reis
d8e0026bc6
Add class to enable per-hint feedback tracking.
2016-06-20 17:32:57 +01:00
Paulo Reis
fe53083afd
Show thank you note after receiving feedback.
2016-06-20 15:04:47 +01:00
Paulo Reis
baea017adb
Better mark-up for analytics tracking.
2016-06-20 14:59:30 +01:00
Paulo Reis
a8976fd4dc
Use plain links instead of buttons.
2016-06-20 14:42:36 +01:00
Paulo Reis
ada018263a
Merge branch 'master' into pr-human-readable-logs
2016-06-20 11:54:56 +01:00
Paulo Reis
1893ae68a9
Add feedback widget for log hints.
2016-06-20 11:53:10 +01:00
Paulo Reis
605bb07ba3
Hint card styling.
2016-06-20 09:45:14 +01:00
Henry Oswald
d35a48e683
minfiy css as well
2016-06-18 21:49:32 +01:00
Henry Oswald
ec727b70a5
reduced some other images
2016-06-18 19:59:39 +01:00
Henry Oswald
4fc9c9a263
compress to 7 levels and only watch public files
2016-06-18 19:16:45 +01:00
Henry Oswald
b1e4af098d
compress images using grunt imagemin
2016-06-18 16:52:38 +01:00
Henry Oswald
1d26be30a9
added grunt imagemin used to compress images
2016-06-18 16:50:56 +01:00
Henry Oswald
fed71ea0bd
minify algolia and moment.js
2016-06-18 16:43:10 +01:00
Henry Oswald
fe11a4d835
include sentry below the fold
2016-06-18 12:29:52 +01:00
Henry Oswald
d2e4e22511
health checks should be on api router with no sessions
2016-06-18 11:58:26 +01:00
Henry Oswald
acdb7f0d5c
Merge branch 'ha_custom_image_logo' of https://github.com/sharelatex/web-sharelatex into ha_custom_image_logo
2016-06-17 14:55:41 +01:00
Paulo Reis
7316a429c0
Increase maximum brand image height.
2016-06-17 14:55:04 +01:00
Henry Oswald
9cd3698b0e
Merge branch 'ha_custom_image_logo' of https://github.com/sharelatex/web-sharelatex into ha_custom_image_logo
2016-06-17 14:41:35 +01:00
Paulo Reis
732a0fdca0
Fit brand image into container.
2016-06-17 14:37:39 +01:00
Henry Oswald
8b79587c9b
add settings as a value to reference in defaults file
2016-06-17 14:22:20 +01:00
Henry Oswald
d27d19e02a
added override for navbar background image
2016-06-17 14:18:52 +01:00
Paulo Reis
2bfe0d0ba9
Basic mark-up for hint card.
2016-06-17 14:16:38 +01:00
Brian Gough
0906bef5f9
change default bcrypt rounds to 12, to match default in AuthenticationManager
2016-06-17 13:50:32 +01:00
Brian Gough
98a0c54004
use parameter for bcrypt rounds, rehash passwords on login if necessary
2016-06-17 12:22:03 +01:00
Paulo Reis
54d48ce0ea
Support extra info URL in human readable hints.
2016-06-17 11:42:32 +01:00
Paulo Reis
40fda6e361
Support HTML in human readable log messages.
2016-06-16 16:29:19 +01:00
Paulo Reis
9b8d695e43
Match logs against ruleset; show human readable message when appropriate.
2016-06-16 15:53:39 +01:00
Paulo Reis
f167aacc08
Add sample rules file.
2016-06-16 15:29:00 +01:00
Brian Gough
5e30310aae
restore popupDownloads=true for pdf downloads
2016-06-16 15:20:57 +01:00
Brian Gough
fcd5582e6e
Merge pull request #259 from sharelatex/fix-per-user-containers
...
Fix per user containers
2016-06-16 14:12:57 +01:00
Brian Gough
02e3f7a02b
change download links so they do not rely on build id
...
prefer the top level files, because the build directories are more
ephemeral. In a shared project they can expire if there are multiple
compiles.
2016-06-16 14:05:21 +01:00
Brian Gough
f045eb65d3
add query string utility function
2016-06-16 14:03:42 +01:00
Brian Gough
8a0fa1321d
add comments to router, downcase route
...
express has case-insensitive routes
2016-06-16 13:59:56 +01:00
Brian Gough
6873c1d972
fix download methods in CompileController
2016-06-16 13:59:24 +01:00
Paulo Reis
c54f3dae20
Create human readable logs module on top of LatexLogParser; use it in the PDF controller.
2016-06-16 11:14:45 +01:00
Shane Kilkelly
3e3dd199a0
Add id's to buttons on beta program page
2016-06-16 10:56:16 +01:00
Shane Kilkelly
241d3bfc14
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-06-16 10:17:47 +01:00
Shane Kilkelly
9919f5f44a
Refactor heap analytics
2016-06-16 10:17:36 +01:00
Henry Oswald
101e98ed83
simpliyfied dashboard & fixed error with leave group shown to group owner
...
- always show the manage button if you are the group owne
- only show the recurly subscription part if you are the subscription owner
- always try and loop through groups you can leave
2016-06-16 09:17:43 +01:00
Shane Kilkelly
5ce0100371
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-06-16 08:50:15 +01:00
Henry Oswald
7dad0427e8
fixed logger in notifications builder
2016-06-15 17:40:54 +01:00
Shane Kilkelly
c8302e090f
Merge branch 'master' into sk-heap-analytics
2016-06-15 15:35:47 +01:00
Shane Kilkelly
522ac8b59b
initial port of heap code from DJ into sharelatex.
2016-06-15 15:35:03 +01:00
Paulo Reis
e891a47a9e
Better support for larger text in keyboard tooltips.
2016-06-15 15:27:30 +01:00
Henry Oswald
a5abc7392d
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-06-15 14:45:28 +01:00
Henry Oswald
8a9a65a80a
fix the download and compile endpoint used by zip
2016-06-15 14:45:05 +01:00
Paulo Reis
e28e959941
Quick fix require statements.
2016-06-15 13:46:40 +01:00
Paulo Reis
73d16b5c9c
Merge branch 'recompile_tooltip'
2016-06-15 13:42:51 +01:00
Henry Oswald
46374f39ff
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-06-15 12:08:16 +01:00
Henry Oswald
560b7f7177
grunt will auto recompile client and less now, run concurrently
2016-06-15 12:08:11 +01:00
Paulo Reis
d7e4009504
Small styling enhancements.
2016-06-15 10:48:40 +01:00
Paulo Reis
3310a3ea3f
Change tooltip copy; get it from i18n catalogue.
2016-06-14 17:20:16 +01:00
Paulo Reis
a9e0185098
Added tooltip with keyboard shortcut in the recompile button.
2016-06-14 17:02:22 +01:00
Brian Gough
d6964feb2f
Revert "enable per-user containers by default"
...
This reverts commit e80b8cd907605d9a7aad16496d49efff4bb08810.
2016-06-14 16:30:06 +01:00
Brian Gough
d0a273fac1
Merge pull request #257 from sharelatex/fix-synctex-position-calculation
...
Fix synctex position calculation
2016-06-14 15:07:48 +01:00
Brian Gough
77de4dd432
Merge pull request #258 from sharelatex/enable-per-user-container
...
enable per-user containers by default
2016-06-14 15:07:37 +01:00
Brian Gough
ed6c384b68
fix urls of downloaded files to those provided by clsi
2016-06-14 14:51:33 +01:00
Brian Gough
ecd9bed1c2
enable per-user containers by default
2016-06-14 14:21:56 +01:00
Brian Gough
991d3c7aa1
avoid exception when switching between full and split pdf view
2016-06-14 12:49:06 +01:00
Brian Gough
2840a7757f
fix bug in synctex position calculation for syncToCode
2016-06-14 12:32:54 +01:00
Brian Gough
830d15136d
fix missing variables in pdf sync
2016-06-14 08:49:08 +01:00
Paulo Reis
c815ba6ed2
Added Paulo Reis photo for the about page.
2016-06-13 15:34:16 +01:00
Henry Oswald
f9fdec8a15
whitelist /user/activate for non public access
2016-06-13 15:24:41 +01:00
Henry Oswald
84db5ec23a
added logging and default calback
2016-06-13 13:38:30 +01:00
Henry Oswald
f3e48e332b
explicit call to UserCreator.createNewUser
2016-06-13 13:38:17 +01:00
Henry Oswald
3bc3153490
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-06-13 13:24:04 +01:00
Henry Oswald
c52af1393e
should be able to set first and last name via user details on registration
2016-06-13 13:21:44 +01:00
Brian Gough
49a7c3c27b
Merge branch 'per-user-containers-part-2'
...
Conflicts:
app/coffee/Features/Compile/ClsiManager.coffee
app/coffee/Features/Compile/CompileController.coffee
app/coffee/Features/Compile/CompileManager.coffee
2016-06-13 12:24:48 +01:00
Brian Gough
3c31988e9a
enable on-demand viewing of pdfs for per-user compiles
2016-06-10 16:06:02 +01:00
Brian Gough
e6dcce21fd
use build_id and user_id instead of build and user
2016-06-10 12:11:47 +01:00
Brian Gough
8bc5f53562
Merge pull request #253 from sharelatex/per-user-containers-part-1
...
Per user containers part 1
2016-06-10 09:40:00 +01:00
Brian Gough
47574d7c7e
Merge pull request #252 from sharelatex/per-user-containers-part-0
...
Per user containers part 0
2016-06-08 15:55:17 +01:00
Shane Kilkelly
42f2b262c2
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-06-08 15:41:38 +01:00
Henry Oswald
895af7c07a
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-06-08 15:36:20 +01:00
Henry Oswald
ed17bd026d
added delete user script in grunt
2016-06-08 15:36:08 +01:00
Shane Kilkelly
ad6e9e039d
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-06-08 15:31:24 +01:00
Shane Kilkelly
6ca2e2204b
If user is in beta program, show link to opt-out page on the settings page.
2016-06-08 15:31:14 +01:00
Shane Kilkelly
8f1fec8c4f
Add opt-out action to beta page
2016-06-08 15:11:39 +01:00
Brian Gough
6c244eb2f4
Merge pull request #251 from sharelatex/fix-download-urls
...
fix filename of downloaded pdf files
2016-06-08 14:33:12 +01:00
Shane Kilkelly
58d7d7bf74
Re-work wording of beta opt-in page.
2016-06-08 11:38:14 +01:00
Shane Kilkelly
90dac348ff
refine beta opt-in workflow.
2016-06-08 11:04:44 +01:00
Shane Kilkelly
20485cbfed
Merge branch 'sk-beta-program'
2016-06-08 10:34:03 +01:00
Shane Kilkelly
009fa79589
remove trailing parens.
2016-06-08 10:33:21 +01:00
Shane Kilkelly
0dfd80d307
Use css to add the beta symbol to the beta-label
2016-06-07 14:04:02 +01:00
Shane Kilkelly
8c9d15a3e4
Tweak style of the beta-feature-badge class.
2016-06-07 13:42:27 +01:00
Shane Kilkelly
2598661c4c
Use correct title for Beta Opt-in page
2016-06-07 13:42:06 +01:00
Shane Kilkelly
618d3ee269
fix missing require
2016-06-07 13:41:50 +01:00
Shane Kilkelly
d8f1e8ec93
Add basic BetaProgram
feature.
2016-06-07 11:15:56 +01:00
Henry Oswald
4029b76d9e
- make system messages default tab in admin panel
...
- add manage site tab to dropdown
2016-06-06 16:11:26 +01:00
Henry Oswald
a297c07bbb
added null check into response.outputFiles?
2016-06-06 14:56:34 +01:00
Henry Oswald
79929eae73
Merge branch 'clsichecks'
2016-06-06 14:34:22 +01:00
Shane Kilkelly
fdacf13782
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-06-06 13:12:31 +01:00
Shane Kilkelly
4e63a3c7bd
Move betaProgram
flag up to top-level of user object
2016-06-06 13:12:24 +01:00
Henry Oswald
829b37cd74
set user email on session again on change email
2016-06-06 10:50:45 +01:00
Henry Oswald
2339cda318
added contentful uni pages as fallback
2016-06-06 09:28:53 +01:00
Brian Gough
634c774592
make code clearer when compilation is per-user
2016-06-02 16:54:46 +01:00
Brian Gough
55a8e3cffe
extend tests for per-user compiles
2016-06-02 15:48:13 +01:00
Brian Gough
ce1524cd07
remove unnecessary build id in query string
...
this is now in the url
2016-06-02 15:48:13 +01:00
Brian Gough
272625fbcc
add per-user compilation in client
...
enabled only when query string includes isolated=true
2016-06-02 15:48:13 +01:00
Brian Gough
9d7f129b61
add per-user compilation in server
...
when no user is defined, fallback to per-project compilation
2016-06-02 15:48:13 +01:00
Brian Gough
061d4934f1
use url attribute sent back by clsi
2016-06-02 15:46:55 +01:00
Brian Gough
5be1886d43
use path attribute sent back by clsi
2016-06-02 15:43:20 +01:00
Henry Oswald
8529cb50b6
rolled back underscore and added lodash in
2016-06-02 13:18:07 +01:00
Henry Oswald
14cbf4f1c8
removed priority url from proxy to clsi
2016-06-02 13:11:20 +01:00
Henry Oswald
c284465ba5
added clsiformat checker, wired in
2016-06-02 13:09:32 +01:00
Brian Gough
b8e31dfc71
fix filename of downloaded pdf files
2016-06-01 16:47:55 +01:00
Henry Oswald
8a5cb86c31
check _checkRecoursesForErrors before compile
2016-06-01 16:46:41 +01:00
Henry Oswald
66ad587c9c
bump underscore to 1.8.3
2016-06-01 16:46:11 +01:00
Shane Kilkelly
a5aab40320
Add the betaProgram
feature to User model.
2016-06-01 16:17:28 +01:00
Henry Oswald
1437877b5a
spike to check latex for basic errors before compile
...
Aims to solve following problems which are currently not visible to user:
- project is too big, which files are worst offenders?
- when there are duplicate file names so an 'old' version keeps overrighting a new version
- when a file has the same path as a folder which blows up clsi i.e. images/research images/research/1.png
2016-06-01 12:28:54 +01:00
James Allen
daf8f6f3cf
Refresh the page if the user is not logged in when joining a project
2016-05-31 11:47:48 +01:00
James Allen
345d38c28d
Don't clean up a documents event listener until after the socket has disconnected on error
2016-05-27 14:39:33 +01:00
James Allen
36c8c197e1
Add more debug log lines
2016-05-27 14:14:08 +01:00
James Allen
fec3266726
Don't remove new instance of Document from openDocs when cleaning up old instance
2016-05-27 14:13:53 +01:00
James Allen
a605dae7ba
Don't show saving just because of pending ops
...
When typing continuously, there is always a pending op present.
The only time we're not saving is if the inflight op isn't changing.
So long as this has changed, it means the previous one has been processed.
2016-05-27 14:08:46 +01:00
James Allen
4bc31ae2b9
Don't throw an error if we get an ack for our update more than once, since we may try sending it more than once
2016-05-27 10:46:14 +01:00
James Allen
6ea58d4d6c
Don't try to resend an update if the editor is not joined to the project
2016-05-27 10:46:14 +01:00
James Allen
39e57a9886
Throw fatal error if document update actually returns an error from the real-time service
2016-05-27 10:46:14 +01:00
James Allen
0175a86d4c
Add in debugging console.logs which only display if ?debug=true is in URL
2016-05-27 10:46:14 +01:00
James Allen
41f789a313
Add in metric to track client side error count
2016-05-27 10:46:14 +01:00
Brian Gough
b55c469b91
use Url instead for url for "url" module
...
to avoid possible conflicts with use of url as a variable
2016-05-26 16:24:18 +01:00
Brian Gough
d83cd547fb
Merge pull request #247 from sharelatex/add-query-string-to-proxy-and-filter-synctex-requests
...
Add query string to proxy and filter synctex requests
2016-05-25 15:08:49 +01:00
Brian Gough
c7363a9df6
provide separate routes for sync-pdf and sync-code with error checking
2016-05-25 15:00:31 +01:00
James Allen
f937f0bc5c
Remove missed debugging console.log
2016-05-25 10:38:40 +01:00
James Allen
a196531a58
Move spinner add logic into same code pathway as spinner remove logic
2016-05-24 15:13:08 +01:00
James Allen
36ba88297b
Don't hang request in the event of a spelling backend error
2016-05-24 15:11:14 +01:00
James Allen
3452a9870e
Show logs when compile fails correctly
2016-05-24 15:10:55 +01:00
James Allen
35442f7ce9
Prompt the user to open a file on the left if no doc is open
2016-05-23 15:03:26 +01:00
James Allen
887631e661
Don't error if the rootDoc_id no longer exists in the project when copying
2016-05-23 14:58:28 +01:00
Henry Oswald
a24f635531
removed uneeded passing of clsiServer to _parseOutputFiles and improve logging
2016-05-21 10:23:17 +01:00
Brian Gough
7f332c0436
support url object with query-string when proxying to clsi
2016-05-20 16:51:19 +01:00
Brian Gough
3c5eb9a730
clean up whitespace
2016-05-20 16:35:00 +01:00
Shane Kilkelly
0c454f5ddd
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-05-20 14:34:55 +01:00
Shane Kilkelly
2441930fe9
Add a spinner when waiting for image preview to load.
2016-05-20 14:28:51 +01:00
Henry Oswald
c918028d14
removed clsi priorty url
2016-05-20 12:46:14 +01:00
Henry Oswald
11724fce13
Merge branch 'master' into clsi-dynamic-load
2016-05-20 12:34:42 +01:00
Brian Gough
eaa41e4361
support displaying output files using .url parameter from clsi
2016-05-20 11:34:22 +01:00
Shane Kilkelly
939c7a8c72
Force reload BinaryFile view when a new object is selected.
2016-05-20 11:20:00 +01:00
Shane Kilkelly
2e2354c574
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-05-20 09:17:35 +01:00
Shane Kilkelly
9a6876d237
Toggle the dots at the end of bib preview, based on size of payload.
2016-05-20 09:17:25 +01:00
Henry Oswald
61b9a683aa
put clsiCookie vals into subobject in settings
2016-05-19 16:55:58 +01:00
Henry Oswald
04e70735d2
Merge branch 'master' into clsi-dynamic-load
2016-05-19 16:26:54 +01:00
Henry Oswald
f03a076669
make cash bust add onto object not recreate it
2016-05-19 16:23:56 +01:00
Brian Gough
5497eb86d1
Merge pull request #245 from sharelatex/clean-up-log-requests-in-pdf-controller
...
clean up log requests, avoid requesting blg file when not present
2016-05-19 16:13:21 +01:00
Shane Kilkelly
0ea16f0bcc
Index '.bib' file objects.
2016-05-19 14:58:12 +01:00
Henry Oswald
789257fd4a
use cookie key when setting cookie for jar
2016-05-19 13:52:18 +01:00
Henry Oswald
036b179ffe
put the clsiserverid onto qs object for correct server allocation
2016-05-19 13:28:20 +01:00
Henry Oswald
2abebd850c
Merge branch 'project_url_query' into clsi-dynamic-load
2016-05-19 13:08:20 +01:00
Shane Kilkelly
b649c13c17
Eliminate weird flicker when loading bibtex
2016-05-19 11:25:24 +01:00
Shane Kilkelly
b70a993572
Make bib previews more robust.
2016-05-19 11:11:23 +01:00
Shane Kilkelly
199844db2d
Fix styling of the bib-loading div.
2016-05-19 10:02:46 +01:00
Shane Kilkelly
3c298ed6ad
Preview up to Two Megabytes of bib files
2016-05-19 10:02:25 +01:00
Shane Kilkelly
5df5ba868c
Fix logic for showing error or loading message.
2016-05-19 10:02:07 +01:00
Shane Kilkelly
4509642914
use highlight colour for any font-awesome icons in file-tree.
2016-05-18 16:34:50 +01:00
Brian Gough
6305cea3e3
clean up log requests, avoid requesting blg file when not present
2016-05-18 16:17:38 +01:00
Shane Kilkelly
10f64004fc
Show a book icon for *.bib
files.
2016-05-18 15:58:24 +01:00
James Allen
d813f45d28
Cherry-pick 0e70320 (Select icon based on file extension) from datajoy
2016-05-18 15:58:01 +01:00
Henry Oswald
d2cc75b73f
changed $scope.pdf.clsiServerId to ide.clsiServerId
2016-05-18 14:38:17 +01:00
Henry Oswald
dba8d96d11
pass clsiServerId to the client and use it as query stirng for requests
2016-05-18 12:50:50 +01:00
Shane Kilkelly
8621d497b4
Fix view so that bib preview only shows for bib files
2016-05-18 11:14:24 +01:00
Henry Oswald
b0baea5073
add query string to end of project resources
2016-05-18 10:09:22 +01:00
Shane Kilkelly
78e52d8c96
Update FileStoreHandlerTests
2016-05-18 09:58:57 +01:00
Shane Kilkelly
eae82a2b20
Preview bib files.
2016-05-17 17:00:14 +01:00
Shane Kilkelly
4f533147b1
enable range requests on files via ?range=m-n
query string.
2016-05-17 16:59:47 +01:00
Shane Kilkelly
af78e893f9
Merge branch 'sk-file-based-ref-import'
2016-05-17 11:48:01 +01:00
Shane Kilkelly
30a778c8e8
add temp module
2016-05-13 13:30:00 +01:00
Brian Gough
40464fe5b5
Merge pull request #244 from sharelatex/add-fast-path-to-pdf
...
Add fast path to pdf
2016-05-13 13:25:49 +01:00
Brian Gough
ac7aa5f936
request output files using /project/project_id/build/build_id/output/* route
...
avoids using query string for build_id
2016-05-13 11:48:58 +01:00
Brian Gough
ee15bbeee0
support the direct path to a clsi output file /project/project_id/build/build_id/output/*
...
this avoids use of the query string ?build=... and so we can match the
url directly with the nginx location directive
2016-05-13 10:33:38 +01:00
Shane Kilkelly
ae85dc3f5d
Enable spaces after commas in references autocomplete
2016-05-12 15:13:00 +01:00
Shane Kilkelly
9eb2e933cd
enable autocomplete on citations like citeauthor
2016-05-12 12:03:08 +01:00
Shane Kilkelly
60cc1bfbff
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-05-12 11:02:54 +01:00
Shane Kilkelly
41a6fa1480
Fix uncompiled pdf view
2016-05-12 11:02:24 +01:00
Brian Gough
ab0bcd4f57
increase default pdfjs chunk size from 64K to 128K
2016-05-10 15:53:37 +01:00
James Allen
aafdc794cd
Remove text limit in content box of contact us
2016-05-10 10:44:51 +01:00
Henry Oswald
b8510301b6
expire cookie key from setting file length
2016-05-06 12:19:22 +01:00
Henry Oswald
ed4fdd48d7
clsi cookies are given an expire time via settings file
2016-05-05 16:50:18 +01:00
Henry Oswald
618935b643
hide hidden domains in hreflang head of html
2016-05-04 22:01:02 +01:00
Shane Kilkelly
48b7800c7f
Revert, because mistake.
2016-05-04 10:43:40 +01:00
Shane Kilkelly
a1552aa872
reset the 'failedLoad' state when a new entity is selected
2016-05-04 10:08:48 +01:00
Shane Kilkelly
9738703424
If image preview fails to load, just show the "no preview" message
2016-05-04 09:32:59 +01:00
Shane Kilkelly
aa301dacb9
Return callback with error if an error is emitted on filestore stream.
2016-05-04 09:32:13 +01:00
Henry Oswald
b237a022c3
added rate limiting on wiki endpoint
2016-04-28 17:24:00 +01:00
Henry Oswald
9db647491a
added different ldap config example
2016-04-28 17:21:07 +01:00
Shane Kilkelly
74205ce11b
Remove features.mendeley
and features.zotero
from User model
2016-04-28 16:01:47 +01:00
Henry Oswald
b00bd5cd94
if clsi cookies are not enabled don't call redis, return empty
2016-04-27 17:05:12 +01:00
Henry Oswald
78b08060ab
redis get not multi used for _getServerId
2016-04-27 16:56:21 +01:00
Henry Oswald
1ee94f9bf5
return server id for set server id and _populateServerIdViaRequest
2016-04-27 16:20:10 +01:00
Henry Oswald
ae522e8b9b
Merge pull request #235 from mdamien/patch-1
...
Correct alignment for word count dialog
2016-04-27 16:12:03 +01:00
Shane Kilkelly
07ad6eb704
actually use the rendering-error state.
2016-04-25 12:42:03 +01:00
Henry Oswald
616630200a
improve send calls and return correct stuff from _makeRequest
2016-04-20 17:08:11 +01:00
Henry Oswald
18560d8621
set server cookie on every compile response and don't expire on get
2016-04-20 16:17:06 +01:00
Henry Oswald
4d54de8b9a
renamed ClsiRequestManager to ClsiCookieManager and improved logging
2016-04-20 15:06:39 +01:00
Henry Oswald
b37595acf9
persist cookie in redis for compiles.
2016-04-19 16:48:51 +01:00
Shane Kilkelly
ce34ce6865
Merge branch 'master' into sk-tpr
2016-04-19 13:56:54 +01:00
Shane Kilkelly
d54515a9a7
add a featureToggle
property to ide.
2016-04-19 11:53:27 +01:00
Caleb Cooper
145b201087
Put brackets around the example ca path for ldap starttls support in the default config. This resolves an issue where the system was breaking the path into an array and trying to act on the first item in that array, "/", rather than the full path.
2016-04-15 13:46:11 -04:00
Shane Kilkelly
fbf5d35fa5
Merge branch 'master' into sk-tpr
2016-04-15 09:46:16 +01:00
Shane Kilkelly
9d027b88ba
Bug fix: re-introduce the project-too-large error message
2016-04-15 09:45:48 +01:00
Henry Oswald
ffa04c7b55
add project url onto query string for compile hashing
2016-04-13 15:38:04 +01:00
Shane Kilkelly
939d7cd042
Merge branch 'master' into sk-tpr
2016-04-11 16:41:34 +01:00
Shane Kilkelly
749d2aa013
Merge branch 'sk-safari-freeze-fix'
2016-04-11 14:47:03 +01:00
Shane Kilkelly
76697599ae
Use the _ide version of browserIsSafari
2016-04-11 14:45:26 +01:00
Shane Kilkelly
e3b2ec9977
Add a ide.browserIsSafari
boolean flag.
2016-04-11 14:35:59 +01:00
Shane Kilkelly
8d6003dcc5
Add commentary
2016-04-11 09:58:37 +01:00
Shane Kilkelly
4fd4a0372c
In Safari, limit iterations of the command-parsing loop.
2016-04-11 09:55:53 +01:00
Henry Oswald
010bb61baf
add michael pic
2016-04-11 08:26:06 +01:00
Henrique Dias
ae79ce75b7
Update settings.defaults.coffee
2016-04-06 11:32:08 -03:00
Henrique Dias
38c8eb868a
Update package.json
2016-04-06 11:30:26 -03:00
Henry Oswald
424e09ec05
getGroupSubscriptionMemberOf gets plan code
2016-04-05 16:03:46 +01:00
Henry Oswald
bd54218cc9
added grunt as depenency
2016-04-05 14:17:36 +01:00
Damien
77eba3ea22
Correct alignment for word count dialog
...
on less than `md` sized screen
2016-04-04 23:47:40 +02:00
Henry Oswald
633839c98b
for support tickets include browser/os and hide email address if
...
set already. This way we know who they are logged in with which has
caused condfusion.
2016-04-04 16:05:42 +01:00
Shane Kilkelly
a686d187ad
Pull refProviders into user model
2016-04-01 11:36:19 +01:00
Henry Oswald
3d719af71e
if subscription is downgraded don't use plan code on subscription, use default instead
2016-03-31 18:04:20 +01:00
Henry Oswald
81cd2adfd3
member_ids != members_id
2016-03-31 17:36:06 +01:00
Henry Oswald
d80191c03b
added more logging and missing err handler in subscription updater
2016-03-31 17:28:03 +01:00
Shane Kilkelly
0ce514a5a6
Add features to the user object in ide.
2016-03-31 17:10:49 +01:00
Henry Oswald
5a201153c7
refactored subscription updater again adding _setUsersMinimumFeatures
...
single place you can call and the users minimum features are set
2016-03-31 16:58:16 +01:00
Henry Oswald
cb3eb88af2
Merge branch 'subscriptionimprovements'
2016-03-31 11:58:56 +01:00
Henry Oswald
db8fb63bb5
fixed change payment details page
...
also increased size of year field for firefox users
and removed unnded options in new plan page
2016-03-31 11:54:52 +01:00
Shane Kilkelly
059d3432c2
Allow citations like -parencite[page 6]{
to work.
2016-03-30 11:28:56 +01:00
Henry Oswald
c7da9f1eef
added different check to contact-us modal
2016-03-29 14:25:59 +01:00
Henry Oswald
1a651b38f4
added sendgrid as email option
2016-03-29 14:15:33 +01:00
Henry Oswald
e2dffdf722
when user contact us put project url at bottom of message
2016-03-24 14:23:18 +00:00
Henry Oswald
e9478e0843
Merge branch 'templatessearch'
2016-03-24 12:06:41 +00:00
Henry Oswald
6662d4c2cd
wired up modal for learn and added translations
2016-03-24 12:05:54 +00:00
James Allen
63c183402c
Style active and focus states of search results too
2016-03-24 11:42:48 +00:00
James Allen
9b84e1b164
Improve styling of wiki search
2016-03-24 11:38:56 +00:00
Henry Oswald
ce2cfeaa5b
don't show search bar in templates if its not configured
2016-03-24 09:52:19 +00:00
Henry Oswald
6a4e13d3c8
added templates angular file forgoten in last commit
2016-03-24 09:35:11 +00:00
Henry Oswald
7634fcf3af
added missing page button (not wired up) to /learn
2016-03-23 18:23:09 +00:00
Henry Oswald
90092a0c61
improved styling, not perefect still
2016-03-23 16:05:38 +00:00
James Allen
3fe0674462
Revert "Add error handling in mkdir_p"
...
This reverts commit c2458cd19018fe05199ce3b33fd4e9230d1cf319.
Apparently mkdirp needs errors to be ignored to work...
2016-03-23 15:33:01 +00:00
James Allen
4d0fe3bf5d
Add error handling in mkdir_p
2016-03-23 15:18:10 +00:00
James Allen
ae5467894b
Standardise on one Errors file
2016-03-23 15:14:49 +00:00
James Allen
a95c941cb9
Fix FileStore unit tests
2016-03-23 15:13:32 +00:00
James Allen
bad9a0282d
Add missing error handler
2016-03-23 14:38:11 +00:00
James Allen
c827407a99
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-03-23 11:29:59 +00:00
James Allen
3d8ac9f292
Add in a few null checks
...
These were discovered by using a project that was messed up with the moving
folder bug where the folder ended up without an id, docs or fileRefs array
2016-03-23 10:54:36 +00:00
Henry Oswald
de0aa1035d
pulled tempaltes search into its own file
2016-03-22 22:29:18 +00:00
Henry Oswald
9cfbbfa504
template search works nicely, needs styling
2016-03-22 22:16:38 +00:00
Henry Oswald
cf45b8bd74
Merge branch 'master' into templatessearch
2016-03-22 21:35:36 +00:00
Henry Oswald
c554b0630d
if user has subscription before joining group is given option to cancel personal one
2016-03-22 16:59:47 +00:00
Shane Kilkelly
62ececeef8
show logs on failure.
2016-03-22 16:59:40 +00:00
Henry Oswald
a6859e22b3
if user is member of group on downgrade use the group subscription
2016-03-22 16:05:46 +00:00
Shane Kilkelly
2c321a4803
If the compile request errors out, set view to 'errors'.
2016-03-22 15:51:05 +00:00
Shane Kilkelly
b212f33505
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-03-22 15:21:00 +00:00
James Allen
9706585d21
Fix translate in delete modal confirm button
2016-03-22 14:44:13 +00:00
Shane Kilkelly
12b0e982c8
Don't raise an error if output.blg
cannot be found.
2016-03-22 14:42:00 +00:00
Shane Kilkelly
d566ce3fd2
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-03-22 14:38:56 +00:00
Shane Kilkelly
d5c280dc4d
Show the pdf if it was already loaded.
...
This ensures the pdf will be visible if the user switches to fullscreen-view.
2016-03-22 14:38:48 +00:00
Henry Oswald
a89edde139
subscription tests fixed
2016-03-22 14:27:05 +00:00
Henry Oswald
cc84aaf834
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-03-22 14:19:54 +00:00
Henry Oswald
7fb0249b2b
null check subscription for custom accounts page
2016-03-22 14:19:46 +00:00
James Allen
a597ebfd90
Only show deleted files in track changes view
2016-03-22 14:13:50 +00:00
Henry Oswald
fbfd160c6d
default message to empty string
2016-03-22 14:02:15 +00:00
Shane Kilkelly
b8c3b427ee
Merge branch 'sk-pdf-error-display'
2016-03-22 14:00:12 +00:00
Shane Kilkelly
2dd9aa9424
Merge branch 'sk-environment-autocomplete'
2016-03-22 13:55:41 +00:00
Henry Oswald
cacb3bf39e
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-03-22 12:30:52 +00:00
Henry Oswald
69a7a1508b
modal != modal instance
2016-03-22 12:28:37 +00:00
James Allen
7637c858c8
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-03-22 12:14:18 +00:00
James Allen
4595c90363
Use translations for action in project delete modal
2016-03-22 12:12:11 +00:00
James Allen
aa1f2cc8a9
Remove #s in href on project list buttons
2016-03-22 12:11:59 +00:00
Henry Oswald
c777f498ad
Merge branch 'groove2'
2016-03-22 11:58:04 +00:00
James Allen
49bb4f07ea
Move delete docs into view in file-tree element
2016-03-22 11:15:52 +00:00
Shane Kilkelly
45077cfba9
Merge branch 'master' into sk-pdf-error-display
2016-03-22 10:56:59 +00:00
Shane Kilkelly
723031f7f3
un-show logs on successful run.
2016-03-22 10:32:55 +00:00
Shane Kilkelly
293cb3c73e
fix typo
2016-03-22 10:32:44 +00:00
Shane Kilkelly
4f3755318f
Clean up.
2016-03-22 10:24:58 +00:00
James Allen
f182fbf396
Convert 'anonymous-user' from real-time api in 'null' internally
2016-03-22 09:53:47 +00:00
Shane Kilkelly
59b131f251
First pass at refactoring the output panel views.
2016-03-22 09:39:33 +00:00
James Allen
2af2dd694e
Use null to represent anonymous user, as AuthorizationManager expects
2016-03-22 09:39:25 +00:00
James Allen
7791805949
Allow admin access to projects
2016-03-21 17:03:41 +00:00
Henry Oswald
840d3b75bb
listen for close not exit when working with unzip command
...
sometimes the command will fail because stout has not finished yet
2016-03-21 16:37:29 +00:00
Henry Oswald
4d7ed1cb17
improved logging from unzip command
2016-03-21 16:00:12 +00:00
Shane Kilkelly
f58f1c3795
Account for the new too-recently-compiled error.
2016-03-21 15:16:17 +00:00
Shane Kilkelly
53dfa841cc
Add the beginnings of a clsi-maintenance-mode message
2016-03-21 15:00:25 +00:00
Shane Kilkelly
3b35605edc
Show logs, even if the compile timed out.
2016-03-21 14:05:26 +00:00
James Allen
9a0ec9c292
Don't throw fatal error when recently compiled
2016-03-21 13:54:45 +00:00
James Allen
8bfc613bb3
Log client side errors as warns so they don't show in Sentry
2016-03-21 13:29:34 +00:00
James Allen
6beb29f449
Don't treat no root resource as a fatal error
2016-03-21 13:28:53 +00:00
James Allen
8fb3e629e8
Require logins for all uploads to projects
2016-03-21 13:23:14 +00:00
Shane Kilkelly
9b22efbd98
split errors into normal error, and renderingError.
2016-03-21 13:20:03 +00:00
James Allen
0ba70e7ccc
Remove missing parameter in log lines
2016-03-21 13:15:57 +00:00
James Allen
2a9e451876
Refine error page to in all situations, and don't send sentry errors on not found errors
2016-03-21 11:55:59 +00:00
Henry Oswald
4e78e34cdf
finished contact us with groove
...
for settings file:
<a ng-controller="ContactModal", ng-click="contactUsModal()", href>Contact</a>
2016-03-21 11:41:05 +00:00
Shane Kilkelly
a704289099
Show the error view, even when the pdf is in an error state.
2016-03-21 10:26:39 +00:00
James Allen
e7d67668e9
Improve error reporting and show 404 when project ids are malformed
2016-03-18 15:59:12 +00:00
James Allen
88b8ce1f80
Enable working settings acceptance tests
2016-03-18 15:59:12 +00:00
Henry Oswald
882297c353
working framework. not happy with groove. Can't set mailbox
2016-03-18 12:55:35 +00:00
Shane Kilkelly
35b5d3cc05
Update ReferencesHandlerTests.
2016-03-18 11:43:39 +00:00
Henry Oswald
209c8ebbfc
wip
2016-03-18 11:31:50 +00:00
Shane Kilkelly
f3db114654
Use the mongojs based apis to get Project and User information.
2016-03-18 11:20:33 +00:00
James Allen
de02928454
Merge branch 'master' into ja_email_tokens
2016-03-17 17:01:26 +00:00
Shane Kilkelly
11d77df898
Fix weird tab behaviour
2016-03-17 16:18:46 +00:00
Shane Kilkelly
020fd2e88d
De-dupe autocomplete entries
2016-03-17 15:58:57 +00:00
Shane Kilkelly
53b46e42cd
Refactor, take indentation into account.
2016-03-17 15:27:20 +00:00
Shane Kilkelly
229ced6f2f
Remove Indentation.
2016-03-17 14:43:34 +00:00
Shane Kilkelly
95a6e1900e
Add autocomplete entries for the end{}
commands
2016-03-17 14:09:45 +00:00
Henry Oswald
c980382196
make calls to learn wiki run in parallel,
...
only saves about 150ms but ever little helps
2016-03-17 12:55:28 +00:00
Shane Kilkelly
d655e99439
Parse existing begin
commands too.
2016-03-17 12:07:21 +00:00
Shane Kilkelly
eebd25351d
Add the custom environments to the list of snippets
2016-03-17 11:23:53 +00:00
Shane Kilkelly
c25c2b676a
Parse \newenvironment{}
commands.
2016-03-17 11:14:05 +00:00
Shane Kilkelly
115734f82e
Rename Snippets -> SnippetManager
2016-03-17 10:04:14 +00:00
Shane Kilkelly
7cc3f7613e
Move the getCompletions
call for Snippets into the Snippets module.
2016-03-17 10:00:07 +00:00
Shane Kilkelly
2985a0b0b2
Account for later commands on the same line.
2016-03-16 11:42:30 +00:00
Shane Kilkelly
027c82ed6b
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-03-15 16:02:54 +00:00
Shane Kilkelly
cff00c09b0
Add a '}' at the end of citation autocomplete if required.
2016-03-15 16:02:48 +00:00
James Allen
60a39f82c1
Fix off by one bug in moving folders from using an out of date project structure
2016-03-15 15:14:54 +00:00
James Allen
75d9912449
Use _.defaults to simplify assigning default features
2016-03-15 14:44:06 +00:00
James Allen
b7d226f434
Make privilege level check in EditorHttpController more explicit
2016-03-15 14:39:27 +00:00
James Allen
261466b042
Convert privilege levels to an enum
2016-03-15 14:35:01 +00:00
James Allen
398d43e2d1
Add missing ? check
2016-03-15 14:15:25 +00:00
James Allen
724e6b5263
Require explicit value of true for ENV variables in config
2016-03-15 14:14:33 +00:00
James Allen
fe1f71413e
Use ProjectGetter, not Project, in ProjectController.loadEditor
2016-03-15 14:12:43 +00:00
James Allen
d09705142e
Add in missing error checks
2016-03-15 14:07:34 +00:00
James Allen
5781894453
Do array null check in callback args
2016-03-15 14:05:59 +00:00
Henry Oswald
76b3a78988
added lock around move element
2016-03-15 12:29:41 +00:00
Henry Oswald
d07e084446
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2016-03-15 11:34:46 +00:00
Henry Oswald
ba9bc3a2e8
check that element being inserted has an _id
2016-03-15 11:29:59 +00:00
James Allen
b556d57f40
Remove missed console.log debugging lines in AuthenticationController.coffee
2016-03-14 17:11:23 +00:00
James Allen
71ef045728
Implement authorization guards in Authorization{Manager,Controller}
2016-03-14 17:06:57 +00:00
Shane Kilkelly
2d4ced6a1c
If user is not project owner, ask them to ask the owner to upgrade.
2016-03-14 16:19:08 +00:00
Henry Oswald
f24bc2c501
log out error when can't send to tpds worker
2016-03-14 14:44:45 +00:00
Henry Oswald
1b39b01114
check err on _putElement for file in project
2016-03-14 14:42:13 +00:00
Henry Oswald
8be55f760f
swallow error if tpdsworker can not be comunicated with on addFile
2016-03-14 10:49:28 +00:00
Henry Oswald
3fc357a343
Merge branch 'master' into projectsizelimit
2016-03-14 10:31:07 +00:00
Henry Oswald
086875d50c
added logging
2016-03-14 10:08:47 +00:00
Henry Oswald
15c6e49d1a
if user changes email then check if they have a site licence
2016-03-13 22:31:14 +00:00
Henry Oswald
88f8b701c8
Merge branch 'fschecks'
2016-03-13 15:52:13 +00:00
Henry Oswald
8812ff445e
change zip size check to spawn
2016-03-12 15:43:16 +00:00
Henry Oswald
f11ba97389
check stat.isFile and isDirectory rather then symlink
2016-03-12 15:05:29 +00:00
Henry Oswald
6664b67fba
check size of zip files
2016-03-12 12:38:21 +00:00
Henry Oswald
da242d90e6
added extra isSymLink checks into reading files
2016-03-12 12:01:36 +00:00
Henry Oswald
7e216391b7
wip
2016-03-12 10:55:17 +00:00
Shane Kilkelly
3ba5808074
Merge branch 'master' into sk-biber-errors
2016-03-11 13:54:06 +00:00
Shane Kilkelly
c4d49f6cf9
Update parser
2016-03-11 13:53:39 +00:00
Shane Kilkelly
5b9fa6d7d6
Upgrade parser.
2016-03-11 11:20:24 +00:00
James Allen
1bd8b8d1a3
Delete SecurityManager and replace with (unwritten) AuthorizationManager
2016-03-10 17:17:26 +00:00
James Allen
3e03164ed4
Remove dead auth_token code
2016-03-10 17:15:14 +00:00
Henry Oswald
36966f0c9b
wip
2016-03-10 17:11:28 +00:00
Shane Kilkelly
170d3f646b
Upgrade parser.
2016-03-10 16:01:54 +00:00
Henry Oswald
347bfe4a79
use cb for internal callbacks
2016-03-10 12:43:36 +00:00
Henry Oswald
3c4e74af4b
project duplicator works and tests pass.
...
not so bad now.
2016-03-10 12:42:21 +00:00
Henry Oswald
d801ab623a
project duplicator works, tests don't
2016-03-10 11:58:05 +00:00
James Allen
e36be96ec9
Move public access setting to its own end point
2016-03-10 11:13:57 +00:00
James Allen
d235ab22ed
Add in tests for public read-only projects
2016-03-09 16:28:46 +00:00
James Allen
c46c083b31
Check write access to documents via real-time end point
2016-03-09 16:26:18 +00:00
Shane Kilkelly
9281d8029d
Upgrade the bib log parser to handle bibtex errors and warnings.
2016-03-09 16:11:25 +00:00
Henry Oswald
bf8f9f6d41
change key to maxEntitiesPerProject
2016-03-09 15:53:03 +00:00
James Allen
2116d0271c
Update acceptance tests for public projects
2016-03-09 15:30:23 +00:00
Henry Oswald
f108c01ea5
don't do a project rename if the name is the same
...
this prevents double renaming which happens when you press
enter as well as no name change
2016-03-09 14:47:57 +00:00
Henry Oswald
940586f654
sped up unit tests to improve speed
...
also removed some unneeded requires.
2016-03-09 12:51:19 +00:00
James Allen
4f9f255153
Extend acceptance tests to include shared projects
2016-03-09 12:31:46 +00:00
Henry Oswald
a33b480c67
added more logging to subscription group handler
2016-03-09 11:20:17 +00:00
Henry Oswald
5be05a35d8
added WithProject versions of functions
...
rather than project_or_id
2016-03-09 11:16:27 +00:00
Shane Kilkelly
cb28fe0891
use the renamed bib-parser.
2016-03-08 16:18:02 +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
James Allen
1a689aa1fd
Move findAllUsersProjects from Project to ProjectGetter
2016-03-03 17:19:03 +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
Shane Kilkelly
020e1b9b34
Add styles for the references search hint.
2016-03-03 11:44:11 +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
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
Shane Kilkelly
ca43d27244
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-02-29 15:52:09 +00:00
Shane Kilkelly
b005f8233e
guard against null and undefined keys in \cite{}
autocomplete
2016-02-29 15:52:02 +00:00
Henry Oswald
1e8523c227
don't emmit to room new entities if they errored.
2016-02-29 13:05:37 +00:00
Henry Oswald
8f0d1dc73e
add in the calls to block large projects
2016-02-29 13:05:17 +00:00
Henry Oswald
8aec86af4e
moved count element to project entity handler and added tests
2016-02-26 13:25:09 +00:00
Henry Oswald
d95526bd8b
ProjectGetter.findRootDoc moved to mongojs
2016-02-26 08:35:10 +00:00
Henry Oswald
eedaa43b58
move project duplicator to mongojs
2016-02-26 08:32:00 +00:00
Henry Oswald
6ca69f88ac
Move project locator to mongojs
2016-02-26 08:31:47 +00:00
Henry Oswald
586d4cbae1
replaced all mongoose Project.find with mongojs calls
2016-02-26 08:23:43 +00:00
Henry Oswald
b6d62a677b
ProjectDeleter.archiveProject doesn't need to get entire project
2016-02-26 08:13:41 +00:00
Henry Oswald
447568aa91
ProjectDetailsHandler.getDetails does not need full project
2016-02-26 07:56:26 +00:00
Henry Oswald
43102e0ffc
lowercase and trim add user to group email address
2016-02-25 14:15:56 +00:00
James Allen
155831c3e7
Skip top-level directory if it exists in zip upload
2016-02-24 17:21:20 +00:00
James Allen
d3e3deb679
Fix padding around active toolbar links
2016-02-24 16:37:03 +00:00
James Allen
71ca358e0e
Show confirmation if upload will overwrite files
2016-02-24 16:37:03 +00:00
James Allen
c6dcb64b18
Overwrite text files from uploads
2016-02-24 16:37:03 +00:00
Henry Oswald
09ac8f8c7a
move .putElement into ProjectEntityHandler with tests
2016-02-24 15:36:39 +00:00
Shane Kilkelly
34bfdcc246
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-02-24 10:27:44 +00:00
Shane Kilkelly
4f3a4880d9
remove margin above search results.
2016-02-24 10:27:29 +00:00
Henry Oswald
a8060109fd
spike of limit
2016-02-24 08:06:40 +00:00
Henry Oswald
1e6f5997dc
use cb for internal async callbacks and inline call
2016-02-23 15:50:30 +00:00
Henry Oswald
7a28eeeaa0
ProjectEntityHandler.addFolder take only project id and
...
only gets project folder structure
2016-02-23 15:45:40 +00:00
Henry Oswald
2a6e09a41b
remove console.log
2016-02-23 15:37:23 +00:00
Henry Oswald
1278081b51
mkdirp only needs folder strucutre
2016-02-23 15:36:59 +00:00
Henry Oswald
1d76850ebd
copyFileFromExistingProject does not need the whole project
2016-02-23 15:34:31 +00:00
Henry Oswald
6f474d9a00
put element just needs project folder structure not docs inside
2016-02-23 15:27:55 +00:00
James Allen
2c20b7d16f
Bring full screen PDF icon into scrollable div
2016-02-23 15:25:04 +00:00
James Allen
ff7632d6c7
Don't reload editor with file tree or PDF viewer hidden
2016-02-23 15:21:54 +00:00
James Allen
fde7efbb9f
Fix rename button styling in editor
2016-02-23 15:21:54 +00:00
James Allen
f21aa0dd94
Don't allow project names to be blank
2016-02-23 15:21:53 +00:00
Henry Oswald
b504732733
fixed calls to addUserToGroup and added more logging
2016-02-22 16:50:41 +00:00
Henry Oswald
103bb1c88f
add more error logging to group handler
2016-02-22 16:01:26 +00:00
Shane Kilkelly
1e1f57a80b
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-02-22 12:04:43 +00:00
Shane Kilkelly
2d954baa62
match cite commands like footcite
too.
2016-02-22 12:04:15 +00:00
Henry Oswald
85a8bc97ed
add leave group button for group subscriptions
2016-02-19 12:27:32 +00:00
Shane Kilkelly
b505f0d455
Merge branch 'sk-references-search'
...
Conflicts:
app/coffee/Features/References/ReferencesController.coffee
2016-02-19 11:30:55 +00:00
James Allen
bf36413491
Improve styling of upgrade messages
2016-02-18 14:53:49 +00:00
Shane Kilkelly
ef1cec8582
update the search_example.gif
2016-02-18 13:54:13 +00:00
Henry Oswald
29e4b324fd
improve calls for invite notifications and auto mark as read
2016-02-18 11:43:43 +00:00
Henry Oswald
f824a3e28a
kill off dead code in group handler
2016-02-18 11:42:26 +00:00
Shane Kilkelly
8384433231
Clean up and add comments to references-search styles.
2016-02-18 10:47:28 +00:00
Henry Oswald
bd54cc722a
fixed broken tests in AuthenticationController
2016-02-18 10:16:50 +00:00
Henry Oswald
fc4bd94a6e
don't create notification if user is already part of group
2016-02-18 10:06:21 +00:00
Shane Kilkelly
d94e3181c3
update references search preview gif.
2016-02-17 16:44:41 +00:00
Henry Oswald
c8084406d3
user notifications auto created on login for joinging groups
2016-02-17 16:24:09 +00:00
Henry Oswald
8a417035ea
remove unned debug line
2016-02-17 16:23:52 +00:00
Shane Kilkelly
f23a11eacb
Refine call-to-action styling in references upgrade dialog.
2016-02-17 15:45:04 +00:00
Shane Kilkelly
9c9a9c5c76
preview gif for references search.
2016-02-17 14:49:37 +00:00
Henry Oswald
5f719e7105
change robots.txt to ignore all
2016-02-16 12:38:27 +00:00
Henry Oswald
735f7bd51e
change res.send to res.sendStatus for new express
2016-02-16 12:38:27 +00:00
Henry Oswald
4017eab888
don't show outline on new doc/folder/upload buttons on select
2016-02-16 12:38:27 +00:00
Henry Oswald
f5910762c1
fixed missign translation for when email is already registered
2016-02-16 12:38:27 +00:00
James Allen
b3a2d44937
next -> callback
2016-02-16 11:12:07 +00:00
Shane Kilkelly
e7e6b1008b
styles for spinner.
2016-02-15 16:11:59 +00:00
Henry Oswald
87ef2cc563
Merge branch 'nodemailer2'
2016-02-15 14:52:58 +00:00
Henry Oswald
ef148da7aa
remove un needed require
2016-02-12 17:15:13 +00:00
Henry Oswald
05bf048885
upgrade to nodemailer 2.0 and dynamically use either SES or SMTP depending
...
on what is in settings file
2016-02-12 17:13:45 +00:00
Shane Kilkelly
2901d12eaa
update styles for search modal.
2016-02-12 16:24:35 +00:00
James Allen
e4960e782f
Merge branch 'ja-multi-select'
2016-02-12 11:56:10 +00:00
James Allen
9d8b91532b
Fix parent highlight bug in jquery ui
2016-02-11 15:41:56 +00:00
Shane Kilkelly
8542a08927
Refine styles.
2016-02-11 15:03:19 +00:00
Henry Oswald
0538ca2de5
added box shadow to notifications alert and made it info
2016-02-11 12:34:38 +00:00
Henry Oswald
8e5907f79e
have null array as default for notifications
2016-02-11 12:10:30 +00:00
Henry Oswald
5c5888b5dc
Merge branch 'pr/221'
2016-02-11 11:44:45 +00:00
Shane Kilkelly
a5386dcdc7
minor adjustments to search result style
2016-02-10 16:54:43 +00:00
Shane Kilkelly
1dc62bdeca
styling for search results in references search modal
2016-02-10 16:37:11 +00:00
James Allen
938b042f8c
Include selected entity in multi selection on first click
2016-02-10 15:59:51 +00:00
James Allen
8359029503
Improve drop zones and feel of dragging in file tree
2016-02-10 15:54:25 +00:00
James Allen
d47f6801c2
Don't trigger delete event on move to avoid switching to root document
2016-02-10 15:26:26 +00:00
James Allen
1d13015726
Update jquery ui
2016-02-10 15:25:53 +00:00
Shane Kilkelly
aa20661372
css for hit class.
2016-02-10 13:24:07 +00:00
James Allen
4487ae1253
Look for queued-http in the correct place
2016-02-10 11:38:01 +00:00
Shane Kilkelly
63c9b91a7b
basic css for references search form
2016-02-10 10:39:04 +00:00
James Allen
03a3e1ceb3
Added missing files
2016-02-09 15:20:59 +00:00
James Allen
506d2224aa
Allow Cmd+Clicking to multi select entries in the file tree
2016-02-09 15:13:58 +00:00
Shane Kilkelly
326d9e59f8
Refactor ReferencesSearch*
to just References*
.
2016-02-08 17:04:27 +00:00
James Allen
b978171e0c
Fix "cannot set headers after sent" in setting doc end point
...
If somehow a project ends up with the same doc/file in two locations in the
file tree, then projectLocator.findElement will return the callback for
both entries. This then tries to end the request multiple times. Of course
this should never be a state the project is in, but if it is we should catch it.
2016-02-05 15:39:26 +00:00
Henry Oswald
de0589b051
added notifications calls for sending to api and mark as read
...
not creating it yet
2016-02-05 14:13:38 +00:00
James Allen
835b43cab2
Don't remove replace command so Ctrl+H is an option in Vim mode
2016-02-05 11:15:00 +00:00
James Allen
a6793be3cf
Improve presentation of hotkeys and add bold+italics
2016-02-04 15:52:38 +00:00
James Allen
5cfd4e0d1f
Fix toggle comment hotkey for European keyboards
2016-02-04 15:42:54 +00:00
Henry Oswald
f136486f4b
cleanup layout of notifications
2016-02-04 14:28:31 +00:00
James Allen
6143b2218c
Send user_id on Dropbox requests through to doc updater
2016-02-04 14:27:00 +00:00
James Allen
8a095a5144
Upgrade to PDF 1.3.91
2016-02-04 14:27:00 +00:00
James Allen
d88cbc342a
Adjust btn-group for correct borders on PDF buttons
2016-02-04 14:26:59 +00:00
Henry Oswald
9d61a58710
slighly change layout of notifications & insert html via angular
2016-02-04 12:11:45 +00:00
Shane Kilkelly
9880df496f
Display ellipsis instead of previous args if they are too long.
2016-02-04 10:49:01 +00:00
Henry Oswald
47eebb1840
add null check and default empty object for subscirption dashboard
2016-02-03 17:41:05 +00:00
Henry Oswald
8af9aa6396
move wufoo form on plans page to groovehq
2016-02-03 16:50:34 +00:00
Shane Kilkelly
7d6f5be7e9
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-02-03 16:46:41 +00:00
Shane Kilkelly
90fd6eb8a1
Autocomplete with many parameters to cite
.
2016-02-03 16:46:34 +00:00
Henry Oswald
7994528c92
make site licence regex more specific
2016-02-03 16:08:29 +00:00
Shane Kilkelly
7ef96be7dc
Handle cite commands like citep
and citet
, etc.
2016-02-03 15:08:52 +00:00
Shane Kilkelly
7fceb2b3af
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-02-03 11:08:58 +00:00
Shane Kilkelly
d0835fd2ba
Fully enable references autocomplete.
2016-02-03 11:08:51 +00:00
James Allen
65a42c551d
Update \documentclass regex so that it does match on '\documentclass{...} % comment with \documentclass'
2016-02-03 10:19:25 +00:00
James Allen
4c626f23e7
Merge pull request #224 from sharelatex/ja_draft_mode
...
Draft mode for compiles
2016-02-02 15:04:21 +00:00
James Allen
425a9b9db2
Add in option to compile in draft mode
2016-02-02 14:50:48 +00:00
James Allen
14cfb2dec7
Namespace toolbar CSS properly to only affect top level anchor tags so that dropdown links are not styled
2016-02-02 14:48:22 +00:00
James Allen
f55b0b3819
Add in default config for references api
2016-02-02 14:36:30 +00:00
Henry Oswald
aaa258099e
added tests to check rate limiter works without session
2016-02-02 14:26:23 +00:00
Henry Oswald
6cd66c7304
allow rate limiter to work on api router where session does not exist
2016-02-02 12:31:54 +00:00
Henry Oswald
a05a7b984f
refresh scope after contact us request
2016-02-01 15:41:43 +00:00
Henry Oswald
7f05ac54f8
improved contact us form progress feedback
2016-02-01 15:22:22 +00:00
Henry Oswald
1f6b43e1b1
added universties site angular controler
2016-02-01 14:33:50 +00:00
James Allen
a0e129b880
Remove tag from projects when deleted
2016-02-01 11:36:04 +00:00
James Allen
1ee0ef2cde
Remove console.log line
2016-02-01 10:36:38 +00:00
James Allen
3d9f326219
Update translation strings for tags
2016-02-01 10:18:57 +00:00
James Allen
b32178182d
Explicitly create tags and get their id
2016-02-01 10:18:56 +00:00
James Allen
77cc6af35e
Update add tag end point to use tag_id
2016-02-01 10:18:56 +00:00
James Allen
f1e65cc776
Use tag_id for deleting tags from project
2016-02-01 10:18:56 +00:00
James Allen
1bd5aef85f
Allow renaming of tags
2016-02-01 10:18:56 +00:00
James Allen
1a86e69d1f
Allow tags to be deleted
2016-02-01 10:18:56 +00:00
Shane Kilkelly
280a0fa54c
Remove debug prints.
2016-01-28 10:22:19 +00:00
Shane Kilkelly
50a451970b
Merge branch 'master' into sk-references-2
2016-01-28 10:06:41 +00:00
Shane Kilkelly
3a700a5af2
More tests for indexAll
2016-01-27 16:03:40 +00:00
Shane Kilkelly
cc818695ef
Split References.index into index and indexAll.
2016-01-27 16:00:53 +00:00
Shane Kilkelly
ec8a12d445
Flush changes to mongo before sending request to references service
2016-01-27 13:33:42 +00:00
Shane Kilkelly
fed10280ab
Use docstore url rather than going through web api.
2016-01-27 09:58:54 +00:00
Brian Gough
5316451f90
update logger-sharelatex to v1.3.1 to improve sentry logging
2016-01-26 16:53:54 +00:00
Shane Kilkelly
a043f28d9b
Remove extra event emission. add debug print.
2016-01-26 16:49:54 +00:00
Shane Kilkelly
6866d45c3c
Delete dead code
2016-01-26 16:39:47 +00:00
Shane Kilkelly
6e3dba52e5
Set up feature flag for references autocomplete.
2016-01-26 16:35:58 +00:00
Shane Kilkelly
d1e53f0cb8
Test ReferencesSearchHandler.index
2016-01-26 16:14:17 +00:00
Brian Gough
0d42b3cb93
don't log csrf errors to sentry
2016-01-26 15:55:51 +00:00
Shane Kilkelly
8a991b0d06
Start testing ReferencesSearch feature
2016-01-26 14:29:23 +00:00
Henry Oswald
690b195f1a
move login success to .json as it sends json over
2016-01-25 17:35:57 +00:00
Shane Kilkelly
a3cee72663
Remove old routes and debug prints.
2016-01-25 13:56:07 +00:00
Henrique Santos
9429e49cf8
finishing frontend
2016-01-22 18:08:39 -02:00
Shane Kilkelly
c911b7d6a3
Broadcast references-key changes back to connected clients.
2016-01-22 15:59:43 +00:00
Shane Kilkelly
af75bb8a60
wip: change how indexing of references works.
2016-01-22 14:23:59 +00:00
Henrique Santos
25f9bd30b6
fix config file
2016-01-22 03:54:38 -02:00
Henrique Santos
2d11705837
fix issues in first commit
2016-01-22 03:41:22 -02:00
Henrique Santos
476eaa8b84
add notification backend and unit test
...
add notification init frontend
2016-01-21 18:42:50 -02:00
Shane Kilkelly
307f78b831
WIP: send multiple bib files and get back keys
2016-01-21 17:01:24 +00:00
Shane Kilkelly
d5d5ba9066
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-01-20 14:02:24 +00:00
Shane Kilkelly
6cc18cd2fb
Add test.
2016-01-20 14:02:14 +00:00
Shane Kilkelly
0b28e7e964
send a fullIndex
flag along to references service.
2016-01-20 13:53:28 +00:00
James Allen
bcb9e1180b
Add jobs page
2016-01-20 11:56:08 +00:00
James Allen
38876a9d4c
Don't show publish buttons when showing free trial for templates
2016-01-19 16:10:50 +00:00
James Allen
ed5872702a
Pass image to wordcount end point in CLSI
2016-01-19 14:17:01 +00:00
James Allen
5125aa0089
Make templates a premium feature
2016-01-19 13:37:22 +00:00
Shane Kilkelly
58edb87c61
Dumbest bug ever. Fix latex autocomplete.
2016-01-19 12:58:18 +00:00
Shane Kilkelly
41aaefc1f6
Enable pre-indexing of references
2016-01-18 11:41:30 +00:00
Shane Kilkelly
dbbc3bbbbb
Fetch the keys when autocomplete is triggered on a cite element.
2016-01-18 10:29:13 +00:00
Shane Kilkelly
2a7894f6e4
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2016-01-15 14:41:12 +00:00
Shane Kilkelly
20757b11b8
Add code to automatically index bib files on project load.
2016-01-15 14:41:05 +00:00
James Allen
03d75944b0
Allow image name to be configured
2016-01-15 10:26:36 +00:00
Shane Kilkelly
b49ed15c14
Fix missing comma
2016-01-14 15:13:19 +00:00
Shane Kilkelly
ca0a625dcc
Begin work on indexing the references when project is opened.
2016-01-14 14:53:08 +00:00
Shane Kilkelly
6244d013af
Null check before regex match
2016-01-14 10:18:12 +00:00
Shane Kilkelly
d5edea77db
Put the references autocomplete feature behind a feature flag for now.
2016-01-13 14:42:35 +00:00
Shane Kilkelly
1e904e6ab7
Merge branch 'master' into sk-references-ac
2016-01-13 11:31:58 +00:00
Brian Gough
d3971e4d4f
upgrade logger-sharelatex to v1.3.0 to fix sentry reporting bugs
2016-01-08 14:19:40 +00:00
Henry Oswald
d202538504
added ng-cloak to successful subscription page
2016-01-04 12:22:31 +00:00
Henry Oswald
a181905ab8
removed console.log
2016-01-04 11:42:54 +00:00
Henry Oswald
5f66dbebf4
2015 -> 2016
2016-01-04 11:12:10 +00:00
Shane Kilkelly
77333c923b
Merge branch 'master' into sk-references-ac
2016-01-04 09:37:10 +00:00
Shane Kilkelly
a63028bad3
Test the ReferencesSearchHandler
2015-12-31 10:28:19 +00:00
Shane Kilkelly
9280dd240b
Test getKeys.
2015-12-31 09:39:48 +00:00
Shane Kilkelly
d9ca9fc06d
Fix comically long lines.
2015-12-31 09:22:35 +00:00
Shane Kilkelly
877ea1d376
Test remaining failure cases.
2015-12-30 16:20:14 +00:00
Shane Kilkelly
ffb149b923
Test failure conditions.
2015-12-30 16:15:31 +00:00
Shane Kilkelly
5d80ce9ca5
More tests.
2015-12-30 15:24:57 +00:00
Shane Kilkelly
86d69f3275
Start testing ReferencesSearch.
2015-12-30 15:08:12 +00:00
Shane Kilkelly
3bd52f4aaf
Better matching against keys.
...
Allows for successive matching as you type.
2015-12-30 11:27:58 +00:00
Shane Kilkelly
7aa8f3a5da
autocomplete the cite{key part.
2015-12-30 11:11:30 +00:00
Shane Kilkelly
b0f3d9e6f4
load the keys if the command is a 'cite'
2015-12-29 15:48:42 +00:00
Shane Kilkelly
e94863d026
Get reference keys when project loads.
2015-12-29 13:30:57 +00:00
Shane Kilkelly
a48abcab0b
load references keys for autocomplete.
2015-12-29 11:02:59 +00:00
Henry Oswald
134e733b01
change succesful subscription message
2015-12-21 10:31:22 +00:00
Shane Kilkelly
bd0f1c0e29
keep the references keys.
2015-12-18 16:20:58 +00:00
Shane Kilkelly
4d46804b9f
Remove debug prints.
2015-12-18 16:12:55 +00:00
Shane Kilkelly
8c9c476dd7
Fetch the list of keys from references index.
2015-12-18 16:00:24 +00:00
Shane Kilkelly
c9db11edbe
Change to using project_id rather than user_id in references index.
2015-12-18 14:57:36 +00:00
Shane Kilkelly
e684968a59
Add ability to request the doc as plain text, rather than a json object.
...
This makes it much easier to stream-parse the document.
2015-12-18 13:36:25 +00:00
Brian Gough
1b70e08f82
reinstate the chaosmonkey
2015-12-18 09:55:24 +00:00
Shane Kilkelly
1ea13a74dd
Refresh the references when the bib file is closed.
2015-12-17 15:13:02 +00:00
Shane Kilkelly
249dd638ec
experimental: update references index from fronted.
2015-12-17 11:51:14 +00:00
Henry Oswald
1ad27bb6ed
changed left menu test to show random benefit to users
2015-12-16 12:40:34 +00:00
Henry Oswald
501763bb4e
changed add doc to use ligher mongo call (folders only)
2015-12-15 13:27:41 +00:00
Henry Oswald
e801f288f2
add tabs to snippets
2015-12-12 11:53:33 +00:00
Henry Oswald
763f16f43c
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-12-12 11:39:54 +00:00
Henry Oswald
3ed4c0fb72
change name of test cancelation-view -> cancelation-options-view
2015-12-12 11:17:17 +00:00
James Allen
e8f21986dd
Refactor registration so it can be called from modules
2015-12-11 17:11:20 +00:00
James Allen
58604d3c91
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2015-12-11 14:25:25 +00:00
James Allen
c0dfdb3bd8
Use translations for activation page
2015-12-11 14:25:17 +00:00
James Allen
c5e3a22e80
Merge pull request #206 from mathsguy42/master
...
Updated package warning parser
2015-12-11 14:18:41 +00:00
James Allen
c40b882ee2
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2015-12-11 11:30:20 +00:00
James Allen
1e8ab5357b
Improve pre-registered account activation process
2015-12-11 11:30:06 +00:00
Henry Oswald
13af9b7b56
find project by name should only find active projects
2015-12-10 17:06:00 +00:00
Brian Gough
ba6c361afa
decrease sentry sample rate to 1%
2015-12-10 14:18:20 +00:00
Henry Oswald
297e33f1a0
remove unneeded hide on cancelation basic
2015-12-09 14:44:26 +00:00
Henry Oswald
d5cf8f6886
simplified cancelation logic
2015-12-09 13:58:26 +00:00
Henry Oswald
7a88afc953
make button for downgrade centered and lower
2015-12-09 12:09:17 +00:00
Henry Oswald
bdc2206ef1
yes_please != yes_please!
2015-12-09 12:03:18 +00:00
Henry Oswald
db8349351d
escape html in cancel message
2015-12-09 12:01:55 +00:00
Henry Oswald
e6f92c181f
ill_take_it != ill_take_it!
2015-12-09 12:00:31 +00:00
Henry Oswald
17cfbf8000
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-12-09 11:49:33 +00:00
Henry Oswald
56fa51f9b2
got translations done for subscription dashboard
2015-12-09 11:24:14 +00:00
Henry Oswald
aafdeb031e
wip - downgrade options it all works, need unit tests & translations
2015-12-08 18:23:28 +00:00
Henry Oswald
8fb1f9e00b
wip: downgrade to student if they are a collab monthly
2015-12-08 15:45:52 +00:00
Brian Gough
91a047ea7a
added sentry error reporting
2015-12-08 12:16:00 +00:00
Henry Oswald
5c05d02840
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-12-08 11:38:29 +00:00
Henry Oswald
fc7ca5ef74
tried changing a couple of sentry ignore to regex's
2015-12-08 11:38:21 +00:00
Brian Gough
cd4ab35fbc
only send a 5% sample of sentry errors
2015-12-08 11:34:11 +00:00
Henry Oswald
7e31851949
fix margin for modal alerts on upload
2015-12-08 08:50:11 +00:00
Henry Oswald
156f646613
increase number of files that can be uploaded & limit 1 concurent
2015-12-07 16:50:09 +00:00
Henry Oswald
88799fc881
add help link when user needs to refresh page
2015-12-04 08:43:55 +00:00
James Allen
50112a59d4
Monitor memory usage and do periodic GC
2015-12-03 10:52:06 +00:00
Henry Oswald
25411189a7
redirect to login if session expired in file upload
2015-12-02 15:40:14 +00:00
Henry Oswald
9383977ca5
remove socket.io as a dependency
2015-12-01 21:18:00 +00:00
Henry Oswald
6738fdd1fc
added translation for rate limit message to client
2015-12-01 13:11:19 +00:00
Henry Oswald
8590af3e49
added rate limit on server side for file uploads
2015-12-01 13:08:49 +00:00
Henry Oswald
a6aea41fb1
added max of 20 files which can be uploaded at same time to client
2015-12-01 12:55:35 +00:00
Henry Oswald
69734c20c0
added heapdump endpoint
2015-11-30 16:16:16 +00:00
Henry Oswald
4fa38178be
ignore some common errors in sentry
2015-11-30 13:49:46 +00:00
Henry Oswald
5213be4fe9
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-11-25 11:54:40 +00:00
Henry Oswald
91a84cb232
increase compile throttle limit
2015-11-25 11:07:53 +00:00
Henry Oswald
1ddf95e746
accesabble != accessible
2015-11-24 16:53:44 +00:00
Henry Oswald
8ca962b734
added missing convert handler
2015-11-24 14:17:40 +00:00
Henry Oswald
4f3b01ed43
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-11-23 17:11:06 +00:00
Henry Oswald
89b2cd8477
added secure banner to both payment forms
2015-11-23 17:10:53 +00:00
Henry Oswald
61182451f1
removed SubscriptionDomainHandler from user controller
2015-11-23 15:12:30 +00:00
Henry Oswald
333c1be68f
added dropbox and github promo on left hand side
2015-11-23 15:12:17 +00:00
James Allen
dea97bb9dc
Fix bad connection debugging parameters
2015-11-19 13:15:51 +00:00
James Allen
442ae638de
Revert "Report unsaved changes after 60 seconds"
...
This reverts commit 44a7e598f2fdbd91d18cc340de477ca3d33a1338.
2015-11-19 12:04:35 +00:00
James Allen
99bca31766
Error and hard refresh document after 30 seconds unsaved changes
2015-11-19 12:04:12 +00:00
James Allen
bf452bf306
Keep the connection.id up to date with socket.io client id
...
The meta.source of an update is populated on the server side so
we need to keep our local connection id up to date with it. When a duplicate
op is submitted we must send all possible client ids that it could have
been sent with.
2015-11-19 12:04:12 +00:00
James Allen
cde5144c42
Retry updates that have not been acknowledged.
...
If we do not get a reply from the server acknowledging our update after 5 seconds,
send it again. If it never got to the server, this is like normal. If the update
got to the server, but we never received the ack then we need to rely on ShareJs's
duplicate handling. We set the dupIfSource parameter on any retried updates which
let ShareJs know that it's a dup if we already have an op with this version number
and client id. The doc-updater and real-time services need changes to correctly
send another ack only to the submitting client in the case of a duplicate update.
2015-11-19 12:04:12 +00:00
Henry Oswald
6eb9b095bd
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-11-19 11:52:19 +00:00
Henry Oswald
dc066dfbdb
added adminDN and adminPW fields to ldap settings
2015-11-19 11:52:11 +00:00
Henry Oswald
b3bdbb3fb7
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-11-19 11:51:53 +00:00
James Allen
2476c1e868
Report unsaved changes after 60 seconds
2015-11-18 15:23:23 +00:00
Henry Oswald
003cdc01fc
consolidated 2 options in payment left menu
2015-11-18 15:21:48 +00:00
Henry Oswald
f40e984e10
Updated ldap settings to make them clearer
2015-11-17 16:27:29 +00:00
Henry Oswald
3836142cee
don't create 2 sessions in sixpack
2015-11-17 16:16:37 +00:00
Henry Oswald
5a9174b1de
use user_id for client side six pack. also change name of editor free trial test
2015-11-17 15:54:59 +00:00
Henry Oswald
76be671e26
fix the popup alert when starting a new trial
2015-11-17 14:56:03 +00:00
Henry Oswald
b1c0dfb0e4
show discount rate on pricing page
2015-11-17 12:23:27 +00:00
Henry Oswald
631e84f5d6
copy coupon code over when switching to student
2015-11-17 11:47:28 +00:00
Henry Oswald
264839e27d
don't show tax or subtotal if there is no info on it
2015-11-17 11:44:31 +00:00
Henry Oswald
d959a51f36
show normal price if there is a discount
2015-11-17 11:42:03 +00:00
Henry Oswald
fefe7c2022
ignore ldap in modules
2015-11-17 11:41:52 +00:00
Henry Oswald
ef3613371f
don't show coupon area for upgrades
2015-11-17 11:41:39 +00:00
Henry Oswald
471b285ad7
changed plan choice using ab sixpack not ga
2015-11-16 16:40:14 +00:00
Henry Oswald
9d3c49242d
added api into angular sixpack
2015-11-16 16:22:27 +00:00
Henry Oswald
f7854649e2
added 20% off option
2015-11-16 15:58:04 +00:00
Henry Oswald
89381e84eb
switch to student switches to free trial
2015-11-16 15:51:54 +00:00
Henry Oswald
05c45cd658
changed upgrade to list features
2015-11-16 14:36:59 +00:00
Henry Oswald
3ef18a09eb
removed finished sixpack test
2015-11-16 12:21:24 +00:00
Henry Oswald
ba58509a67
increased length rate limit is in effect for
2015-11-16 12:21:06 +00:00
Henry Oswald
56635d2221
set timeout for sixpack server dynamically, needs to be longer for local dev
2015-11-12 12:43:55 +00:00
Henry Oswald
49e6f4db87
set NODE_TLS_REJECT_UNAUTHORIZED to 0 for testing
...
allows us to talk to staging sixpack
2015-11-12 12:38:35 +00:00
Henry Oswald
8a6c3b5838
covert payment-left-menu test
2015-11-12 09:57:06 +00:00
Henry Oswald
377cc11c3b
added sixpack to server side
2015-11-12 09:29:44 +00:00
Henry Oswald
3a61f48068
added payment page with security seal
2015-11-11 17:59:35 +00:00
Henry Oswald
e4b36e6c5c
moved where ask_proj_owner_to_upgrade_for_history shows up in rendering issue
2015-11-11 17:25:28 +00:00
Henry Oswald
cf6998cac3
added ab test into payment page left hand feature list
2015-11-11 16:42:04 +00:00
Henry Oswald
453415ff7c
fixed tab index on payments page
2015-11-11 16:22:07 +00:00
Henry Oswald
4e8eebb482
increase rate limit threshold on pdf downloads
2015-11-11 09:00:38 +00:00
Henry Oswald
16670cb3e3
only rate limit full pdf downloads
2015-11-10 16:23:55 +00:00
Henry Oswald
da9535f442
fix an alignment issue
2015-11-10 15:38:05 +00:00
Henry Oswald
b6b252b1f8
only participate in track changes test if they are shown view
2015-11-10 15:14:27 +00:00
Henry Oswald
5598624ee1
only run participate test for sign up if user has no projects
2015-11-10 14:06:06 +00:00
Henry Oswald
23fd12c67d
dropped throttle for full pdf download to 30 over 5 mins
...
1 download every 10 seconds which seems ample
2015-11-10 11:53:11 +00:00
Henry Oswald
615e4b448a
fix search on project list page. ng-if breaks it but ng-show does not for some reason
2015-11-10 11:36:11 +00:00
Henry Oswald
c8ba7b72ab
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-11-10 10:36:06 +00:00
Geri Morales
6f93362fdc
Updated package warning parser
2015-11-08 23:02:41 -06:00
James Allen
a153c6682a
Put in client side check for document getting too long
2015-11-06 12:51:43 +00:00
James Allen
9dcc251017
Copy header values so they can be modified by modules each request
2015-11-05 16:52:50 +00:00
James Allen
8128200d55
Don't show pop up when leaving page in Safari
2015-11-05 10:18:40 +00:00
James Allen
16b7bf222a
Merge branch 'contacts'
2015-11-05 10:14:25 +00:00
James Allen
21f702a42e
Fix bug with click on share button registering
2015-11-04 14:33:27 +00:00
James Allen
34d13d5b2d
Include latest translations
2015-11-03 12:00:57 +00:00
Henry Oswald
77d349dd8f
added more long form list of features on track changes upgrade
2015-11-02 18:44:26 +00:00
Henry Oswald
0ef8d77ce3
project list minimal to work with projects
2015-11-02 18:44:12 +00:00
Henry Oswald
c4d3537e1d
remove sixpack from default settings
2015-11-02 16:28:30 +00:00
Henry Oswald
79c4c6e26b
added split test for on boarding, doing cut down view
2015-11-02 16:15:56 +00:00
James Allen
c46f62cfc1
Ensure that a user can only be added to project once
2015-11-02 15:21:41 +00:00
James Allen
7359fc16ee
Add in show-on-hover CSS classes
2015-11-02 13:59:34 +00:00
Henry Oswald
cf48c94725
rate limit pdf downloads
2015-10-30 11:56:01 +00:00
Shane Kilkelly
c05c5ac7c8
Clear drag/drop highlight explicitly after the drop has completed.
...
Solves a problem where sometimes the Jquery drag/drop plugin
fails to remove the highlight class from drop target.
2015-10-28 12:17:50 +00:00
Henry Oswald
730088b6ab
set button colour to red for free trial
2015-10-27 23:35:13 +00:00
Henry Oswald
2d03410c42
removed some editor actions sent to google analytics as we are sending too much data
2015-10-27 23:28:54 +00:00
Henry Oswald
6c75a6dbe5
change six pack key and add into default settings
2015-10-27 11:37:11 +00:00
Henry Oswald
97c2b5fb11
removed excess logging for sixpack
2015-10-27 11:20:54 +00:00
Henry Oswald
b9187ebd08
added test to wording for datajoy popup
2015-10-27 10:58:51 +00:00
Henry Oswald
8f1d09beea
added six pack to web
2015-10-27 10:58:27 +00:00
Henry Oswald
5e19d710ba
change error handling on spelling
2015-10-22 20:15:50 +01:00
Henry Oswald
084b0d8548
update ldap default settings for server pro
2015-10-22 10:42:50 +01:00
Henry Oswald
1c91de0395
added function to get project with only folders for quicker adding of files to large projects
2015-10-21 16:56:06 +01:00
Henry Oswald
885915916a
check if user exists on recurly callback
2015-10-21 11:27:13 +01:00
Henry Oswald
d9734953a6
don't archive project in track changes for moment
2015-10-20 17:36:37 +01:00
Henry Oswald
79a694b5c8
for spelling attach error handler first
2015-10-20 09:55:12 +01:00
Henry Oswald
f61d97a4f6
added null check on user when checking permissions
2015-10-19 22:29:36 +01:00
Henry Oswald
2b8dd7248a
added subscription handler null check
2015-10-19 22:29:11 +01:00
Henry Oswald
d80179ecc6
added missing null check in
2015-10-19 22:14:52 +01:00
Henry Oswald
a94a03fc3e
added missing stubbed module call breaking tests
2015-10-19 15:48:59 +01:00
Henry Oswald
0c74673e04
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-10-19 15:44:54 +01:00
Henry Oswald
2c32126f68
archive in track changes as well as docstore
2015-10-19 15:44:50 +01:00
James Allen
36678301e6
Try to put a new doc in the docstore first so that if it fails it doesn't leave a broken doc_id in the project
2015-10-16 12:34:33 +01:00
James Allen
bafd3a1cb4
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2015-10-16 12:31:21 +01:00
James Allen
144f1396b7
Fix problem with pasting multiple emails
2015-10-15 17:03:22 +01:00
James Allen
fb42489803
Improve formatting of users, groups and tags
2015-10-15 16:43:53 +01:00
James Allen
b0895cc6aa
Support adding groups to projects via share modal
2015-10-15 13:53:46 +01:00
Henry Oswald
bbe510099e
change auto disconnect to 24 hours and expose it publicly for easier testing
2015-10-15 11:38:23 +01:00
Henry Oswald
2f48568f76
fix free trial button on timeout view
2015-10-15 11:38:01 +01:00
Henry Oswald
9eb4dd1b3b
on firefox don't show retrying connected message if the user clicked to change page
...
it creates a bit of worry for the user as it looks like the connection was not there.
2015-10-14 18:07:12 +01:00
James Allen
d996ed6e47
Refactor addUserToProject for better access by groups
2015-10-14 17:29:58 +01:00
Henry Oswald
a1f57f220b
inline ng-clock as it does not work for firefox in base.less quickly enough
2015-10-14 16:22:32 +01:00
Henry Oswald
aba8f164fc
copy right 2015 not 2014
2015-10-14 14:44:48 +01:00
Henry Oswald
f5162d424f
if a user is inactive for 12 hours disconect them.
2015-10-14 14:28:24 +01:00
Henry Oswald
28e507b007
Revert "A tiny cache-busting change"
...
This reverts commit 1241b397d32cf982c9bb92865c725ce1e431e409.
2015-10-09 10:12:08 +01:00
Henry Oswald
ea5046ef20
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-10-09 10:11:57 +01:00
Henry Oswald
e593b3f717
append string to ide.js min which we can use for testing via status cake
2015-10-09 10:11:38 +01:00
Shane Kilkelly
8676ce9538
A tiny cache-busting change
2015-10-09 08:45:50 +01:00
James Allen
c4e4f2c77a
Add modules hook for contacts and support groups in auto complete
2015-10-08 18:17:53 +01:00
James Allen
78c5741d06
Add contact when adding collaborator
2015-10-08 16:42:23 +01:00
James Allen
d11d536994
Refactor adding and removing collaborators to not go through EditorController
2015-10-08 14:15:36 +01:00
James Allen
8cc7869b03
Pull in contacts from contacts api and send to tag-input for autocomplete
2015-10-07 17:32:35 +01:00
Henry Oswald
f1d07811df
update the entire users features on assign bonus bu don't update
...
the user features if there is nothing to update when assigning bonus
2015-10-07 13:50:51 +01:00
Henry Oswald
a73b2ceb37
Merge branch 'connect-failed'
2015-10-07 11:30:48 +01:00
Henry Oswald
b69ec9768d
bonus allocater does not need to check if user has subscription any more.
2015-10-05 16:50:34 +01:00
James Allen
64ffcde3df
Namespace subscription groups as SubscriptionGroup
2015-10-05 16:37:03 +01:00
Henry Oswald
fae7d431f4
after subscription is updated always check bonus
2015-10-05 16:33:13 +01:00
Henry Oswald
9a60617162
change referral allocated to only upgrade features and to find highest level
...
i.e. user has referred 5 users, there are bonus levels for 3 & 6 shares, auto takes 3 users now.
2015-10-05 12:30:03 +01:00
Henry Oswald
89256f9d5f
added connect timeout option to socket.io.connect needed for the firing of connect_failed. Best way to test is drop connect timeout to 10ms and remove some transports from realtime.
2015-10-05 00:43:37 +01:00
Shane Kilkelly
ae10cc5755
Update default raven version to 1.1.22
2015-09-30 10:40:20 +01:00
Shane Kilkelly
12f1a798c6
Add raven version 1.1.22
2015-09-30 10:38:52 +01:00
Shane Kilkelly
15847f8921
Add the 'release' attribute to Sentry configuration.
2015-09-29 15:41:25 +01:00
Shane Kilkelly
b4c7209a11
Try to reconnect either on editor-cursor move, or when any thing in the page is clicked.
2015-09-29 10:23:21 +01:00
Shane Kilkelly
8bd83f64e0
Try to reconnect when the editor cursor is moved.
2015-09-28 16:18:09 +01:00
Shane Kilkelly
b393de1450
Try to reconnect when the user types in the editor.
2015-09-28 15:45:14 +01:00
Shane Kilkelly
54de12d908
Fix alignment of inputs in Search-Replace panel.
2015-09-28 14:16:10 +01:00
Henry Oswald
27c02f5ef5
added some robots to the blocked list
2015-09-22 14:27:14 +01:00
Shane Kilkelly
30a63d1e42
Remove ng-click on output files, which was causing a double-request for download.
2015-09-22 10:11:03 +01:00
Henry Oswald
011f628de8
lock down translations version
2015-09-17 10:26:29 +01:00
Henry Oswald
24007affa7
change admin link to /admin/user
...
this is the page for the admin panel, if the panel is installed
then it will load, otherwise a redirect to register users has been
added in.
2015-09-16 12:17:58 +01:00
Henry Oswald
70611da833
added a null check to getRequestUserAndProject
2015-09-15 12:47:48 +01:00
Henry Oswald
5ffd76c670
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-09-14 15:36:08 +01:00
Henry Oswald
9a72667e91
added word count UI feature.
2015-09-14 15:28:19 +01:00
Shane Kilkelly
5e157bcd16
Fix a case where a null user would cause displayName to crash.
2015-09-14 12:27:27 +01:00
Shane Kilkelly
77ac6c1baf
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2015-09-14 12:08:11 +01:00
Shane Kilkelly
7bc9218b3c
Fix up a bunch of issues with the track-changes list view.
...
- not crash when a user is null
- fix alignment of user color square
- if first and last name are absent, display email instead
- truncate overly long display name with '...'
2015-09-14 12:08:05 +01:00
Henry Oswald
507e8d13a6
Merge pull request #200 from heukirne/wordcount
...
Wordcount hook
2015-09-11 16:22:15 +01:00
Shane Kilkelly
778f588741
Merge pull request #199 from sharelatex/sk-missing-users
...
When a user is null in track-changes UI, display them as "Anonymous".
2015-09-11 14:24:08 +01:00
Henrique Dias
3be0425b45
add unit tests for wordcount
2015-09-11 10:21:05 -03:00
Henrique Dias
d228fd88ab
add worcount file param
2015-09-11 09:53:06 -03:00
Henrique Dias
77c2162872
add wordcount clsi handler
2015-09-10 12:41:48 -03:00
James Allen
662050b3f9
Only show services header if we have some services to render
2015-09-10 16:01:12 +01:00
Shane Kilkelly
4a315a0474
When a user is null in track-changes UI, display them as "Anonymous".
2015-09-10 14:35:09 +01:00
James Allen
1c9f9274a9
Remove uneeded and now wrong Sentry error capturing
2015-09-08 11:48:39 +01:00
James Allen
25b9a9be19
Upgrade Ace to 'package 11.07.15'
...
This required a refactor of all code that listen to events changes since the API
has changed. See https://github.com/ajaxorg/ace/pull/1745 for more details.
2015-09-07 17:04:05 +01:00
James Allen
5fdb50958e
Fix logs dropdown to work with Angular 1.3
2015-09-03 13:13:28 +01:00
James Allen
95db287fef
Fix more dropdown menu in project list for new Angular
2015-09-03 13:02:43 +01:00
James Allen
c64891a61b
Fix folder dropdown to work with new Angular
2015-09-03 12:54:11 +01:00
James Allen
aa06eb55b7
Merge branch 'master' into angular_1.3.15
2015-09-03 12:52:08 +01:00
James Allen
7446572ed9
Group online users into dropdown menu when more than 3
2015-09-02 14:33:51 +01:00
James Allen
34c8f22dd7
Allow multiple collaborators to be added at once with a list of emails
2015-09-02 14:33:43 +01:00
James Allen
639424f664
Don't error on project clone if not root doc is set
2015-09-02 14:32:21 +01:00
James Allen
40704b486e
Don't lock up on very long lined documents
2015-08-28 16:52:09 +01:00
Shane Kilkelly
0aaeb6671e
Keep password reset token in session, and strip it from reset page url.
...
This fixes an issue where the reset token was leaked in the referrer header
when navigating away from the password reset page to an external site.
Now we get the token from the query string, store it in the session,
then redirect to the bare url of the password reset page, which then
uses the stored token to render the reset form.
2015-08-24 11:53:33 +01:00
Henry Oswald
a53e3b80cf
if blog or universities site is down don't crash, send 500
2015-08-20 16:55:16 +01:00
Shane Kilkelly
23bd5d317c
A few extra cases which should not be treated as html.
2015-08-20 15:58:36 +01:00
Shane Kilkelly
ebf754904f
More thorough tests for the FileStoreController when downloading .html files.
2015-08-20 15:56:56 +01:00
Shane Kilkelly
aab7a8713e
Catch the case where filename is shorter than the extension length.
2015-08-20 15:56:30 +01:00
Shane Kilkelly
85c1704fc5
Test that content-type is set for mobile-safari user-agents.
2015-08-20 14:03:12 +01:00
Shane Kilkelly
ce248f56d7
Un-break FileStoreControllerTests by mocking out the req.get
method.
2015-08-20 12:28:51 +01:00
Shane Kilkelly
2dd56d0b32
If we're sending a html file to mobile-safari, do so as plain text.
...
This prevents safari from trying to render the page,
which it does because it ignores the "Content-Disposition" header.
2015-08-20 12:02:43 +01:00
Shane Kilkelly
936b41ff2a
Merge branch 'sk-unpublish-buttons'
2015-08-19 15:44:02 +01:00
Henry Oswald
038c5a33a2
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-08-19 12:00:58 +01:00
Henry Oswald
0e9ec00f85
added stubbed logger in document controller tests
2015-08-19 11:58:59 +01:00
Henry Oswald
63580f6a79
remove useClsi2 flag in project collection
2015-08-19 11:58:41 +01:00
Henry Oswald
a777fcc5a6
changed post to deactivate projects to set params via body rather than query params
2015-08-19 11:55:35 +01:00
Henry Oswald
50fc886c94
changed inactive to active as its more effienct query in mongo
2015-08-19 11:54:30 +01:00
Shane Kilkelly
18f75bba79
Generalize this style to all .btn elements under the .template-details-section
2015-08-19 09:59:01 +01:00
Shane Kilkelly
865372d13f
Add some whitespace around buttons in template-details.
2015-08-18 14:45:44 +01:00
Shane Kilkelly
96619bde8c
Move the template-browser code into the 'templates' module.
...
Now located to be located at `modules/templates/public/coffee/main/index.coffee`,
moved to complete a migration of template related code into the templates module.
Corresponding commit in sharelatex-web-modules:
625c556e42072d30f30d474aaef72deff24ca154
2015-08-18 14:21:35 +01:00
Shane Kilkelly
6b295fde28
Add shane image.
2015-08-17 14:23:36 +01:00
Henry Oswald
d3499acd7b
pass options through stating how long ago want to archive from and limit
2015-08-14 14:11:53 +01:00
Henry Oswald
70b825fd2a
fixed call to ProjectUpdateHandler.markAsOpened and made it async
2015-08-14 11:27:11 +01:00
Henry Oswald
66b87df17c
added deactivate project endpoint
2015-08-14 11:26:11 +01:00
Henry Oswald
bec9bf5c87
replace lodash with underscore in this project
2015-08-14 09:42:27 +01:00
Henry Oswald
68e970cd69
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-08-14 09:31:25 +01:00
Henry Oswald
21a67ddab4
added deactivate old projects endpoint
2015-08-13 22:50:39 +01:00
Henry Oswald
a0142d4415
added inactive and reactivate project logic
2015-08-13 22:40:28 +01:00
Brian Gough
a25373d53e
update metric-sharelatex to v1.2.0 for mongodb-core support
2015-08-06 09:44:47 +01:00
James Allen
ec5e03bd01
Fix subscription currency dropdowns
2015-08-04 15:58:31 +01:00
Henry Oswald
04d3e527d6
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-08-04 10:46:19 +01:00
Henry Oswald
53dc0b63c8
v1 of enago
2015-08-04 10:45:19 +01:00
Brian Gough
2bc003894b
use latest version of metrics with commit id until ready to tag
2015-08-02 15:55:26 +01:00
Brian Gough
c5cc639bff
upgrade mongoose from 3.8.28 to 4.1.0
2015-08-02 15:24:17 +01:00
Henry Oswald
3e55aef25a
show error if socket io fails to connect. Not tested yet.
2015-07-31 15:42:47 +01:00
Henry Oswald
417fd4f5f5
add logging to tell us how long since a project that is being opened was last updated
2015-07-22 10:38:48 +01:00
Henry Oswald
c12213b46b
added logging around load editor times
2015-07-22 10:38:28 +01:00
Henry Oswald
a786b623a8
added logging to help debug slow project list page loading
2015-07-22 01:06:23 +01:00
Henry Oswald
3ecf201eda
send -> sendStatus
2015-07-08 16:56:38 +01:00
Henry Oswald
9028bcf830
set body parser limit to 2mb
2015-07-08 14:35:03 +01:00
Henry Oswald
39df8964cf
added route that got lost in merge
2015-07-08 13:29:10 +01:00
Henry Oswald
9a49ce4a0e
removed extra req.session.destroy
2015-07-08 12:58:02 +01:00
Henry Oswald
258a8e3f04
added picture of kiri and geri
2015-07-08 11:30:02 +01:00
Henry Oswald
8020cd8f47
removed tpds from settings.defaults.coffee, if not set updates are now not queued
2015-07-02 12:09:08 +01:00
Henry Oswald
56346ad88c
remove analytics router and fixed bad package.json
2015-07-01 15:48:23 +01:00
Brian Gough
e6a670533d
added default mongoose connection
2015-07-01 15:36:50 +01:00
Henry Oswald
7fd29b18a8
destroy users session before creating a new one for them after login
...
session changed to prevent against fixation attacks
2015-07-01 15:29:02 +01:00
Henry Oswald
4f0b922a5d
changed name used when project or file uploaded, this changed when
...
we started using https://github.com/expressjs/multer
* originalname - Name of the file on the user's computer
* name - Renamed file name
2015-07-01 15:28:49 +01:00
Henry Oswald
3ab57f6830
put express locals on webRouter, this prevents problem with accessing sessions in locals, they should also only be used on web routes not api routes
2015-07-01 15:28:30 +01:00
Henry Oswald
941d407231
added saveUninitialized option to session which is now required
2015-07-01 15:26:17 +01:00
Henry Oswald
15a57f5dc4
removed req.session.destorys from endpoints now on the api router which are not needed
2015-07-01 15:26:05 +01:00
Henry Oswald
1cc0cbe8fc
split site into 2 routers, webRouter and apiRouter
...
web router has things like sessions etc added onto it. Api router is minimal, doesn't include things like csrf
2015-07-01 15:23:18 +01:00
Henry Oswald
665bdcf538
v1 of express4 conversion
2015-07-01 15:17:43 +01:00
James Allen
c75cdf24b5
Fix selectAll for angular upgrade
2015-06-29 13:43:44 +01:00
Brian Gough
a4f99c4224
remove fairy from exception handler
2015-06-23 14:16:06 +01:00
Brian Gough
893de9d8ac
updated metrics package version
2015-06-23 13:54:05 +01:00
Brian Gough
3de841dd71
added event loop monitor
2015-06-23 13:50:42 +01:00
Henry Oswald
84bf0dd9a3
added timeout and logging for tpdsworker queing via http
2015-06-23 11:19:23 +01:00
Henry Oswald
b83fe4dcf9
put tpdsworker url in from settings
2015-06-23 11:13:05 +01:00
Henry Oswald
2ec925b45e
fairy removed from web, makes http request to tpds worker now
2015-06-22 22:33:04 +01:00
Henry Oswald
706c1824f0
changed package.json to use our fairy fork
2015-06-18 15:43:42 +01:00
James Allen
559e26145b
Run module unit tests with main tests
2015-06-16 10:54:15 +01:00
James Allen
30eb79dfdc
Add link to DataJoy that shows randomly 50% of the time
2015-06-09 15:36:16 +01:00
James Allen
0eec715bb5
Upgrade to Angular 1.3.15 and latest ui-bootstrap
2015-06-09 14:59:12 +01:00
Henry Oswald
fc72ca601e
update package.json
2015-06-09 10:19:24 +01:00
Henry Oswald
eeead86fba
updated mongoose
2015-06-02 16:24:40 +01:00
Henry Oswald
aaa902cca9
fixed bug with subscriptions where if an old user had a subscription and was in a group they would get a confusing page
2015-06-01 14:38:09 +01:00
Henry Oswald
33aa5c732f
if a domain licence link has expired render a nice message explaining they need to retry
2015-06-01 12:43:42 +01:00
Henry Oswald
cb48242b74
changed email expire to 1 day for verifying account
2015-06-01 12:22:46 +01:00
Henry Oswald
6727c3ee00
changed ShareLaTeX thoughts to go into type form
2015-05-29 16:27:35 +01:00
Henry Oswald
d3f6c0c614
Merge branch 'user-csv' of git://github.com/heukirne/web-sharelatex into heukirne-user-csv
2015-05-29 12:17:54 +01:00
Henry Oswald
e4011b9ba1
Merge branch 'emailverification'
2015-05-29 12:10:02 +01:00
Henry Oswald
702fdc1480
improved views for domain licence invites
2015-05-29 12:09:28 +01:00
Henrique Dias
f709ddf3eb
add csv export unit tests
2015-05-28 17:22:49 -03:00
Henrique Dias
f50eb0398f
add export csv group feature
2015-05-28 16:54:41 -03:00
Henry Oswald
43c4531e51
kill off CollaboratorsHandler. changeUsersPrivilegeLevel as it is not used anywhere
2015-05-28 13:02:08 +01:00
Henry Oswald
e454d2f059
don't allow renaming in client if user is not owner
2015-05-28 12:59:02 +01:00
Henry Oswald
ca28d8ee70
changed views to use translations
2015-05-27 22:15:46 +01:00
Henry Oswald
b657c5207e
cleaned up the views a bit
2015-05-27 21:45:29 +01:00
Henry Oswald
22b94e9246
renamed SubscriptionDomainAllocator -> SubscriptionDomainHandler
2015-05-27 20:57:54 +01:00
Henry Oswald
4773d6d22f
added tests around new endpoints for joining groups
2015-05-27 20:50:16 +01:00
Henry Oswald
f27c072ae1
pull logic checking if user is already part of a group out of controller into handler
2015-05-27 16:33:47 +01:00