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