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
Henry Oswald
72e528e9d1
if you are alread in the group show the custom group page
2015-05-27 15:50:28 +01:00
Henry Oswald
79fa49a43d
if a user is elelable to be part of a group subscription and they go to
...
/user/subscription it should redirect them to the group subscription invite
2015-05-27 15:35:31 +01:00
Henry Oswald
1d21bddcf5
fix Onetime token handler path
2015-05-27 15:06:36 +01:00
Brian Gough
a5d14f4ffb
handle unexplained case where smokeTestModule is undefined
2015-05-26 16:33:02 +01:00
Henry Oswald
481bd67fbd
changed paths to use hyphens and add succesfull join page
2015-05-26 15:26:45 +01:00
Henry Oswald
94b26e71a4
ignore test script
2015-05-26 15:25:24 +01:00
Henry Oswald
841231dbf8
make PasswordResetTokenHandler generic so it can be used for invites
2015-05-26 15:24:09 +01:00
Brian Gough
e51cdb81bd
port leak fixes from smoke-test-sharelatex module
2015-05-26 10:54:55 +01:00
Henry Oswald
12bf268978
Merge branch 'master' into emailverification
2015-05-25 11:51:46 +01:00
Henry Oswald
d774ca7e0a
added sigma-master
2015-05-25 11:37:53 +01:00
Henry Oswald
cad8d8a23b
v1 basic invite works, not pretty or tested
2015-05-22 13:57:15 +01:00
Brian Gough
cc9c8fdc94
freeze Date in Recurly tests before all calls
...
beforeEach freezes and resets for each subtest, which does not give
the desired result as the time increases between each subtest, we want
to freeze once at the beginning and reset at the end using before/after.
2015-05-19 15:00:30 +01:00
Henry Oswald
f5c39efcac
patched xss hole with messages not setting the content type correctly
2015-05-19 11:04:52 +01:00
Henry Oswald
47d4ed9631
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-05-18 16:10:07 +01:00
Henry Oswald
2bc39ddf0b
added sigma.js lib used for module spike
2015-05-18 16:09:47 +01:00
Brian Gough
3051d7dab6
modify LockManager test to avoid dependence on timing
2015-05-18 09:14:28 +01:00
Diego Giovane Pasqualin
7c6ed0ff77
Update bcrypt to 0.8.3
...
This new version compiles successfully on nodejs newer than 0.10.
2015-05-11 16:43:29 -03:00
Brian Gough
1bb7ae3996
always remove the spinner, even if it is not spinning
2015-05-11 14:12:24 +01:00
Brian Gough
92836f49fc
avoid unnecessary spell checks on session change
2015-05-11 10:07:11 +01:00
Henry Oswald
8fc41e9e05
added templateLinks property to example config for ShareLaTeX server pro
2015-05-10 13:10:03 +01:00
Brian Gough
3ad517e1c2
Merge pull request #177 from sharelatex/fix-ace-extension-errors
...
prevent loading error for ace language tools extension in development
2015-05-05 14:47:44 +01:00
Brian Gough
6014085e8e
prevent loading error for ace language tools extension in development
2015-05-05 14:33:18 +01:00
Henry Oswald
72af6748c9
Merge pull request #157 from oskanberg/patch-1
...
Rename 'javscript' to 'javascript'
2015-05-05 14:28:27 +01:00
Henry Oswald
bb071e99fa
make startup message consistent
2015-04-30 15:03:07 +01:00
Henry Oswald
9764ab258b
added complex password validation to password resets
2015-04-30 12:05:46 +01:00
Henry Oswald
312c56a24e
allow password resets to be performed when site is not public by adding routes into white list
2015-04-30 11:58:26 +01:00
Henry Oswald
a7640b5bbd
changed authentication controller to use req.parsedUrl.pathname as query strings on req.url were breaking the whitelist
2015-04-30 11:57:40 +01:00
Henry Oswald
635f79d2f6
added password strength check to change password
2015-04-28 18:30:19 +01:00
Henry Oswald
65b91930d1
field != feild
2015-04-28 17:50:06 +01:00
Henry Oswald
11a5c009a6
make default password rules very permisive
2015-04-28 17:42:30 +01:00
Henry Oswald
a1e24eb064
Merge branch 'passwordStrength'
2015-04-28 17:39:46 +01:00
Henry Oswald
cdbc239a62
config the password options via the settings
2015-04-28 17:39:35 +01:00
Henry Oswald
f385a7a4b5
open chat links in new window
2015-04-28 16:20:24 +01:00
Henry Oswald
fa4a51b5a3
email address is not allowed as part of password
2015-04-28 16:20:12 +01:00
Brian Gough
82c35d9b82
example of using controller to access other fields
2015-04-27 16:38:40 +01:00
Henry Oswald
639f73ea74
mvp for password validation
2015-04-27 14:42:32 +01:00
Henry Oswald
7d109ce77d
null check error in pdf view
2015-04-23 10:40:11 +01:00
Henry Oswald
6669884f44
Merge branch 'tpds-cleanup'
2015-04-23 10:06:26 +01:00
Henry Oswald
31a51b73d8
improved linkify so data is correctly sanitized, used inbuilt angular lib
...
don't know how I missed that last time!
2015-04-22 17:58:33 +01:00
Henry Oswald
7a46b98c82
fixed unit tests for deleting files sent from tpds
2015-04-22 15:08:29 +01:00
James Allen
6c585adb3c
Merge branch 'buffer_sharejs_ops'
2015-04-22 13:59:19 +01:00
Brian Gough
d0c759c6fb
always send the latest position when emitting updatePosition event
...
Avoid sending outdated position by capturing the current position in
$scope.currentPostion on every call and sending it the when the timer
for updatePosition runs.
2015-04-20 14:26:56 +01:00
James Allen
87d625b5e0
Delay flushes performed after getting an op acknowledgement as well
2015-04-17 17:32:23 +01:00
James Allen
8a32ca1b64
Reduce buffer delay to 1 second
2015-04-17 16:45:17 +01:00
James Allen
af85c83877
Buffer updates when only a single user is editing a document
...
Add in 5 second delay between flushing updates when only a single user
is editing a document. As soon as an update is received from another user
we switch to sending updates immediately again so there is no latency
between collaborators. The logic applies to individual docs, so two users
can be editing different docs and will still buffer updates since they
will not affect each other.
2015-04-17 11:24:28 +01:00
Henry Oswald
c583903e04
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-04-16 21:02:47 +01:00
Henry Oswald
dbd076849b
updated online user management to only send cursor position when people are collaborate
...
if someone is in the project with them cursor info is sent every 500ms, if they are
by themself it is sent every 5mins so they are still marked as online.
2015-04-16 21:01:03 +01:00
Brian Gough
396644d314
proposed fix to delete tpds dump files after use
2015-04-15 14:41:38 +01:00
James Allen
5c30a7de67
Add in option for global login requirement (defaults to on)
2015-04-15 11:14:53 +01:00
Henry Oswald
52f3248869
null check entity in filetree for orderByFoldersFirst
2015-04-14 17:05:13 +01:00
James Allen
893ff85521
Don't allow password resets for holding accounts
2015-04-14 13:11:49 +01:00
James Allen
33f56b71a2
Remove redundant body parser line
2015-04-14 13:04:49 +01:00
James Allen
8b4ccae60a
Read cookie session length from settings file
2015-04-14 13:04:29 +01:00
Henry Oswald
5f6bdaf700
show the social buttons by default in settings
2015-04-13 11:30:59 +01:00
Brian Gough
2ed934120c
Fix display of annotations when switching files in ace editor
...
The annotations (error markers) were not preserved when switching
between files. The setAnnotations method was being called before the
document is ready -- when the document is attached to ace the content
is deleted and reinserted, which caused the annotations to be removed.
To fix the problem we set the annotations after attaching.
2015-04-08 14:39:39 +01:00
Brian Gough
10cd5186c2
add pdfjs-1.0.712 back in for existing clients
...
clients with the old page loaded still making requests to it
2015-04-01 14:24:39 +01:00
Brian Gough
52b041c0bf
update pdf text layer builder with improvements from pdfjs 1.0.1040
2015-03-31 14:55:05 +01:00
Brian Gough
b893446b9c
use new pdfjs getDestination method in pdfRenderer
...
gives faster lookup of link destinations in pdf file
2015-03-31 14:54:36 +01:00
Brian Gough
0684fa36fd
upgrade pdfjs to version 1.0.1040
2015-03-31 14:53:27 +01:00
Mick O'Brien
9f037384b6
Update word regex for spellcheck
...
Adds Latin Extended-A characters to word regex to prevent splitting words half way through on characters like ąęćółżźńś.
2015-03-23 16:14:38 +00:00
James Allen
358242a5e0
Merge pull request #159 from SibrenVasse/adblock_fix
...
Fix for adblock blocking loginscreen.
2015-03-23 12:29:40 +00:00
James Allen
f82f5e5479
Release version 0.1.4
2015-03-20 19:08:48 +00:00
James Allen
8483f249ee
Actually proxy websocket connections
2015-03-20 19:08:48 +00:00
Brian Gough
b0a32b1ef8
make new pdf viewer the default for all users
...
remove old pdf viewer
2015-03-20 11:28:28 +00:00
James Allen
ff55e4c5ed
Merge branch 'private_registration'
2015-03-20 10:34:17 +00:00
James Allen
393169bc2a
Create a grunt task to create the admin user
2015-03-19 17:36:50 +00:00
James Allen
e2d515f957
Allow public registration module to hook into email system
2015-03-19 17:19:56 +00:00
James Allen
185514ea35
Fix failing unit test
2015-03-19 16:41:09 +00:00
Brian Gough
3bdf2158c1
avoid exception on page size change
2015-03-19 14:26:06 +00:00
James Allen
9b8cf7bcfa
Remove public registration and require that a user be registered by an admin
2015-03-19 14:22:48 +00:00
Brian Gough
6320fcccec
remove underscore from pollSavingStatus
...
the underscore module is not loading in time for some users on MacOS
2015-03-19 14:22:22 +00:00
James Allen
d76ef86077
Tell user to contact admin email to register
2015-03-18 16:20:26 +00:00
James Allen
93a088618a
Return proper error from registration handler
2015-03-18 16:19:48 +00:00
James Allen
cb948fede2
Move email sending into registration controller
2015-03-18 15:57:01 +00:00
Brian Gough
adb98d05b5
sentry 1.1.16 does not yet support release parameter, use build tag instead
2015-03-18 15:50:26 +00:00
Sibren Vasse
f4f74a2baf
Fix for adblock blocking loginscreen.
2015-03-17 20:14:55 +01:00
Brian Gough
5d788ca7c5
add grunt version target to report version to sentry
...
it writes the git commit id and Jenkins build number into the sentry
configuration
2015-03-17 16:59:17 +00:00
Oliver Skånberg-Tippen
5df9f49a4e
Rename 'javscript' to 'javascript'
2015-03-10 18:56:46 +00:00
James Allen
0f69ee0f22
Add in proxy for /socket.io so that we don't need to faff with real-time service location
2015-03-09 14:09:09 +00:00
James Allen
bb61dfe34a
Show nice error page if socket.io could not be loaded
2015-03-09 13:57:13 +00:00
James Allen
d376acdaa9
Allow an __appName__ parameter in translations
2015-03-09 12:14:30 +00:00
Brian Gough
b41cdb424b
Merge branch 'master' of github.com:sharelatex/web-sharelatex
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2015-03-06 15:03:52 +00:00
Brian Gough
24b2844ece
avoid race condition loading underscore
...
make underscore.coffee angular module depend on libs, which depends on
underscore-1.3.3
Have avoided adding an extra dependency on underscore itself so that
the version number is not duplicated. We could have a single
definition of underscore in the requirejs config, to keep the version
number in one place.
2015-03-06 15:03:30 +00:00
Henry Oswald
97f0fad525
add vat number option to payment form
2015-03-04 18:08:06 +00:00
Henry Oswald
80dc2f9224
send coupon code server side to be applied to users subscription
2015-03-04 17:50:24 +00:00
Henry Oswald
69806c02d0
improve behaviour of trying to rename a file to empty
2015-03-04 14:19:47 +00:00
Henry Oswald
9805c6a9ff
doc model no longer has lines or rev in it
2015-03-04 11:10:59 +00:00
Henry Oswald
fe3b9bf07a
clients can not rename docs/files/folders to blank name.
...
Client and server side checks added
2015-03-04 11:10:59 +00:00
Brian Gough
8d092fc84d
replace .filter with _.filter to remove dependency on ES5
2015-03-03 16:45:37 +00:00
Brian Gough
c52a122966
workaround for lack of DOM element .remove in IE
2015-03-03 16:44:26 +00:00
Brian Gough
edc83b905c
remove circular references when reporting to sentry
2015-03-03 16:41:21 +00:00
Brian Gough
0ff5f54bf6
fix unit test for build parameter
2015-03-02 15:33:45 +00:00
Brian Gough
c1cde643ef
use send build identifier to clsi only for new pdf viewer
...
old pdf viewer will continue to use the main ouput.pdf file
2015-03-02 14:59:53 +00:00
Brian Gough
7aea33b562
keep existing behaviour when loading other output files
2015-03-02 12:18:10 +00:00
Brian Gough
0315954b47
Merge branch 'master' into support-cached-pdfs
2015-03-02 09:20:00 +00:00
Brian Gough
caed778117
load output files from cached build when known
2015-02-26 16:47:47 +00:00
Brian Gough
a64b8724bd
include the build parameter in the compile unit tests
2015-02-26 16:21:44 +00:00
Brian Gough
5b9f2e8fc1
pass build id through to clsi when requesting pdf
2015-02-26 16:21:44 +00:00
James Allen
c495e5c492
Release version 0.1.3
2015-02-26 11:48:42 +00:00
Henry Oswald
8100f988b2
comment out ldap in settings.defaults
2015-02-26 11:40:02 +00:00
Henry Oswald
40b30b957a
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-02-24 22:07:43 +00:00
Henry Oswald
161f24ffdf
add flag which requires login for /learn
2015-02-24 22:07:36 +00:00
Henry Oswald
387a8b8ae3
hide some forms in user settings if authentication is managed by external system
2015-02-24 13:41:46 +00:00
Henry Oswald
3a9c6503ee
null check mathjax
2015-02-23 17:46:17 +00:00
Henry Oswald
9a7f73ed89
null check response.outputFiles
2015-02-23 17:43:22 +00:00
Henry Oswald
4f11974c85
added null check when looking for deletedByExternalDataSource
2015-02-23 17:33:05 +00:00
Henry Oswald
5028665913
ignore errors from https://pstatic.datafastguru.info its malware we have
...
no control over
2015-02-23 17:29:38 +00:00
Henry Oswald
c98c2db6be
change Raven?.captureException to not log json, might be causing error
2015-02-23 17:27:35 +00:00
Henry Oswald
8638b531a5
fire off register to newsletter on user registration as it can be slow
2015-02-23 16:03:45 +00:00
Henry Oswald
c33956c0af
fix jade warnings about missing space, need to escape the module html
...
insertions a different way. != func rather than !{func}
2015-02-23 10:18:48 +00:00
Henry Oswald
f7f681d2a3
deal with nan tax rate if user is not in taxable location for subscription dashboard/change plan
2015-02-22 18:35:59 +00:00
Henry Oswald
d112ad22a8
added ldapjs to package.json
2015-02-20 15:23:24 +00:00
Henry Oswald
6a3f760c6f
added ShareLaTeX server pro options with ldap into settings.defaults
2015-02-20 12:09:35 +00:00
Henry Oswald
78b4bccba1
remove qq upload loading gif, just 404's atm and is not missed
2015-02-19 11:42:57 +00:00
Henry Oswald
e4121d8a28
forgot comma in ignoreUrls
2015-02-19 11:25:06 +00:00
Henry Oswald
4eed88c1ab
broken a err and null check into 2 lines
2015-02-19 10:54:28 +00:00
Henry Oswald
67f4929e49
null check on loadRootFolder
2015-02-18 22:31:45 +00:00
Henry Oswald
e8b50e2ffd
null check highlights before removing them
2015-02-18 22:29:07 +00:00
Henry Oswald
2c3b19e43d
null check on deleting entry from scope
2015-02-18 22:28:02 +00:00
Henry Oswald
ad5de0e93a
added null check on Facebook
2015-02-18 22:25:58 +00:00
Henry Oswald
5d09999da5
ignore errors from twitter loading
2015-02-18 22:19:49 +00:00
Henry Oswald
c15484db6b
added null check on log entry files in the client
2015-02-18 22:16:29 +00:00
Henry Oswald
4ec05364bb
set chat message to empty string by default
2015-02-18 22:06:18 +00:00
Henry Oswald
a9660a3a07
add err and null project test for locating project element
2015-02-18 21:57:21 +00:00
Henry Oswald
455d78773e
change the meta tags a little to help with so
2015-02-18 21:57:21 +00:00
Henry Oswald
f8e3fa6308
increase the auto compile limit a little
2015-02-18 21:57:21 +00:00
Henry Oswald
21a01d94d4
check that content exists before adding it to getAllDocs.
...
causing error which I think is blowing up the mongo driver elsewhere
2015-02-18 21:57:21 +00:00
James Allen
766bfbf5ef
Provide easy way out of track-changes
2015-02-18 17:50:14 +00:00
James Allen
000f01fbeb
Remove unneeded uid module
2015-02-17 11:21:50 +00:00
James Allen
1a7d4f6be1
Fix smoke tests
2015-02-17 11:21:14 +00:00
Henry Oswald
4c4aaac7a9
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-02-17 10:59:25 +00:00
Henry Oswald
c4b21f3184
added some null checks to message.user.id
2015-02-16 23:16:38 +00:00
Brian Gough
3d69033212
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2015-02-13 15:56:51 +00:00
Brian Gough
c29714f427
avoid unnecessary infinite scroll loadUntilFull calls
...
allow the dom to update before checking if more data is needed
2015-02-13 15:53:59 +00:00
James Allen
8e13ded360
Regenerate the session id after logging in or registering
2015-02-13 11:18:17 +00:00
James Allen
f037c466cd
Quieten noisy Ace warnings
2015-02-12 12:17:21 +00:00
James Allen
18d627baba
Add missing localStorage.coffee... oops
2015-02-12 11:55:52 +00:00
James Allen
7dd1ab84d5
Wrap calls to localStorage in an exception handler
2015-02-12 11:32:27 +00:00
James Allen
4dde3e4979
Update Ace to 'package 20.12.14'
2015-02-12 10:37:10 +00:00
Henry Oswald
65859468de
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-02-12 09:21:48 +00:00
Henry Oswald
216c9cefe3
don't error on subscription dashboard page if there is no subscription.taxRate
2015-02-12 09:21:45 +00:00
James Allen
50048a53b5
Don't throw an exception if there is an error with unzip
2015-02-11 11:34:49 +00:00
Henry Oswald
bf38fb7459
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-02-10 18:05:51 +00:00
Henry Oswald
1d6c928c81
fix bug which showed all plans as monthly in payment form.
...
Also use translations for string of month/year
2015-02-10 18:05:39 +00:00
James Allen
18723c2e26
Bump version to 0.1.2
2015-02-10 14:05:51 +00:00
James Allen
bd5f303712
Remove dropbox js include
2015-02-10 14:05:51 +00:00
James Allen
b44e9b1dcb
Move template front end code to module
2015-02-10 13:02:43 +00:00
James Allen
01cf220d57
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2015-02-10 11:38:43 +00:00
James Allen
e4b77a2563
Merge branch 'dropbox-module'
2015-02-10 11:38:32 +00:00
James Allen
001a5d751b
Pull out templates logic into its own module
2015-02-10 11:24:34 +00:00
James Allen
2875958363
Merge pull request #140 from metbosch/fix/124_scroll_large_images
...
Allowed scroll on binary-file container
2015-02-09 13:32:57 +00:00
Brian Gough
353e9c86a8
sample only 1% of pdf exceptions due to volume of requests to sentry
2015-02-09 11:18:46 +00:00
Henry Oswald
08420a305a
autolink chat messages
2015-02-07 16:15:33 +00:00
Henry Oswald
7918ea4bc3
don't evaulate wiki/learn html with angular
2015-02-07 15:55:27 +00:00
Henry Oswald
6f5b524b56
use currency for change plan pricing
2015-02-06 17:08:42 +00:00
Henry Oswald
79e7f82a36
only setup recurly once for subscription dashboard and apply async to make sure updates on pricing are applied
2015-02-06 16:54:11 +00:00
Henry Oswald
7030d5f822
change plan shows price including tax
2015-02-06 16:19:52 +00:00
Henry Oswald
86f963a7ec
recurly tax updates
...
- get all accounts does get all of them by looping through all pages
- creating coupons requires which plan the coupon is for
- fixed the total price shown to people so it includes tax
2015-02-06 16:19:52 +00:00
James Allen
6c387edbe2
Remove Dropbox front end logic from main sharelatex repo
2015-02-05 18:20:34 +00:00
James Allen
f75376124e
Update open source branding
2015-02-05 16:56:35 +00:00
James Allen
d7afb4e513
Clean up unused real-time code in web
2015-02-05 16:37:37 +00:00
James Allen
3aad31069c
Always show chat name or email
2015-02-05 13:05:57 +00:00
James Allen
ae3175c805
Show cookies error message on forbidden response
2015-02-05 12:57:44 +00:00
James Allen
5a922e2356
Include email address explicitly in welcome email to avoid any confusion
2015-02-05 12:52:50 +00:00
James Allen
888ebd5d7b
Attempt to stop superfish malware from loading
2015-02-05 11:23:45 +00:00
James Allen
366a0403a6
Clear rate limit in smoke tests
2015-02-05 10:18:18 +00:00
James Allen
e35d80211e
Log when rate limit is hit
2015-02-05 09:52:40 +00:00
Henry Oswald
993c5bcee7
dont show generic error message on subscriptions if they are part of a group
2015-02-04 20:56:50 +00:00
Henry Oswald
7fdb8009a0
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-02-04 20:20:16 +00:00
Henry Oswald
e4a54cbdfc
added recurly subscription null checks
...
this deals with a user who has an expired old subscription then
is added to a group subscription.
2015-02-04 20:17:55 +00:00
James Allen
4235c90623
Add in rate limit to opening projets
2015-02-04 15:05:35 +00:00
Henry Oswald
42d8f1f222
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-02-03 14:10:27 +00:00
James Allen
753a80ada5
Navigate away from deleted docs. Closes #141
2015-02-03 13:51:56 +00:00
James Allen
0d299b308e
Ignore generated sharejs.js lib
2015-02-03 12:58:26 +00:00
James Allen
bd8311e1cf
Merge pull request #146 from sharelatex/fix-pdfng-no-background-digests
...
Fix pdfng no background digests
2015-02-03 12:11:46 +00:00
Henry Oswald
e9ab77351a
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-02-03 11:36:16 +00:00
James Allen
2aa229d145
Add in profiling end point
2015-02-03 11:05:23 +00:00
Henry Oswald
e4976539d9
show generic error handler only on error
2015-02-03 10:41:58 +00:00
James Allen
860de1528f
Load default coupon code if provided in query string
2015-02-02 17:42:27 +00:00
James Allen
48a17729e4
Show change plan list on clicking change plan, not hide
2015-02-02 14:53:45 +00:00
Henry Oswald
7f0b4e5ba5
Merge branch 'master' into sitelicences
2015-02-02 11:15:14 +00:00
Henry Oswald
ee83ed6e81
started using underscore.string to check domain emails
2015-02-02 11:15:04 +00:00
Henry Oswald
49e13128a0
forgot new moment lib
2015-01-30 10:13:32 +00:00
Henry Oswald
69b5eaad19
fixed the classic "UI Layout Callback Error"
2015-01-29 19:23:04 +00:00
Henry Oswald
cb889efb6a
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-01-29 18:32:26 +00:00
Henry Oswald
948eeb87ba
improved momentjs
...
- access it via amd not global
- remove warning message
- updated 2.7.0 -> 2.9.0
2015-01-29 18:31:11 +00:00
Henry Oswald
5a15e826a7
moved mathjax to be served locally
2015-01-29 18:29:53 +00:00
James Allen
36513f443c
Ensure we are in a digest loop when updating validation errors
2015-01-29 14:43:38 +00:00
James Allen
3731c62e17
Get validation working with address fields and Angular digest loop
2015-01-29 14:22:57 +00:00
James Allen
2a78a7843a
Allow subscriptions with no free plans, and adjust styles
2015-01-29 14:11:25 +00:00
Henry Oswald
69c3f48c1e
if there is a validation error re enable the button
2015-01-29 13:56:19 +00:00
Henry Oswald
0a64c1c8ac
on register try and auto allocate a group licence if one exists
2015-01-27 18:22:51 +00:00
Henry Oswald
3360b3c35a
added basic domain allocation feature
2015-01-27 18:09:56 +00:00
Brian Gough
a13e78e853
catch rejected promises in pdfviewer
2015-01-26 16:07:49 +00:00
Brian Gough
b4f527b099
handle rejected promises in pdf viewer
2015-01-26 16:07:49 +00:00
Brian Gough
182dfabbae
fix pdf loadcount (no ?: operator in coffeescript)
2015-01-26 16:07:49 +00:00
Brian Gough
1a8438be5f
handle error loading pdf
2015-01-26 16:07:49 +00:00
Brian Gough
d9a3776183
make sure the progress bar always goes to 100% before removing
2015-01-26 16:07:49 +00:00
Brian Gough
5a47b1bac2
use .25-second delay before loading indicator is removed
2015-01-26 16:07:49 +00:00
Brian Gough
940c6a4b8d
replace console.logs with error callbacks
2015-01-26 16:07:48 +00:00
Brian Gough
a5900c4b9a
handle case where Raven is not defined in pdf renderer
2015-01-26 16:07:48 +00:00
Brian Gough
192918dda1
replace $timeout by setTimeout in pdf viewer
2015-01-26 16:07:48 +00:00
Brian Gough
63fd1f7c78
remove comments
2015-01-26 16:07:48 +00:00
Brian Gough
20d1a8b0f7
queue all pdf rescale/relayout events to avoid duplicate redraws
...
delay spinner by 100ms, since it now shows sooner
2015-01-26 16:07:48 +00:00
Brian Gough
866de306d6
added comment about double resize event
2015-01-26 16:07:48 +00:00
Brian Gough
3d1fe22f00
remove layout-ready event from pdfjs, we get it from jq layout
2015-01-26 16:07:48 +00:00
Brian Gough
bd8cfb1dae
fix pdf viewer to work without background scope.apply
2015-01-26 16:07:48 +00:00
Brian Gough
1160560bfb
add missing scope.$apply in pdf viewer event handlers
...
shows up now there are no apply's coming from the unsaved file check
2015-01-26 16:07:48 +00:00
Brian Gough
994b307e3f
added comment for background polling change
2015-01-26 16:06:50 +00:00
Henry Oswald
bebe94a128
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-01-26 15:38:34 +00:00
Henry Oswald
b06c9f509e
if chat errors don't keep trying to get more chat messages
...
causes loop which is why we have so many sentury errors
2015-01-26 15:36:34 +00:00
Brian Gough
5050c8c023
optimise common case for highlights (triggered on mousemove)
2015-01-26 15:14:55 +00:00
Brian Gough
5244fddce2
optimise common case for closing context menu (triggered on scroll)
2015-01-26 15:04:30 +00:00
Brian Gough
e62a2c7a6f
only set watch on attrs.layoutDisabled when attribute is defined
2015-01-26 15:04:30 +00:00
Brian Gough
0453c657da
prevent $scope.$apply from firing on every unsaved files check
...
only trigger a digest when there is a change in the saved state
2015-01-22 17:00:56 +00:00
Brian Gough
b407fde6e3
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2015-01-21 15:26:38 +00:00
Brian Gough
58750140f4
enable new pdf viewer by default for newly created users
2015-01-21 15:26:01 +00:00
Brian Gough
e66cd6dc58
Merge pull request #142 from sharelatex/pdfng-scrollhandler
...
Pdfng scrollhandler performance improvements
2015-01-21 15:25:29 +00:00
Brian Gough
4ab0f00b8d
do not render offscreen pdf pages yet
...
they cause a delay without a visible spinner
2015-01-21 14:37:59 +00:00
Brian
f510c5d19f
render current page immediately
2015-01-20 21:33:49 +00:00
Brian
62d5916883
replace $timeout by setTimeout in pdf viewer update
2015-01-20 21:06:53 +00:00
Brian
ed6eedd9e2
remove unused functions in pdfRenderer
2015-01-20 20:36:43 +00:00
Brian
c8012dc22c
fix getVisiblePages in pdf viewer to allow optimisation
2015-01-20 20:35:29 +00:00
Brian Gough
debc3037ae
remove debugging from pdf viewer
2015-01-20 16:22:34 +00:00
Brian Gough
441bc63935
use setTimeout instead of $timeout in pdf scrollhandler
2015-01-20 16:20:38 +00:00
Brian Gough
591498a056
fix dom position calculation in pdf viewer
2015-01-20 16:20:19 +00:00
Brian
53e9086094
remove useless scope.$apply in pdf scrollhandler
2015-01-20 15:37:11 +00:00
Brian
721843695b
avoid using jquery in pdf scrollhandler to improve peformance
2015-01-20 15:36:52 +00:00
Brian Gough
96af4e0b4a
fix selection of prerender pages in pdf viewer
2015-01-20 14:28:43 +00:00
Brian Gough
f18f862be2
handle different page size in pdf viewer
2015-01-20 14:28:14 +00:00
Brian Gough
c9e019b4a7
clean up calculation of visible pdf pages and display on redraw
2015-01-20 11:06:40 +00:00
metbosch
43d723bcfb
Allowed scroll on binary-file container
...
Set overflow in auto mode to allow large images.
2015-01-19 23:34:49 +01:00
Henry Oswald
90bb12db40
added state to payment form
2015-01-19 20:27:01 +00:00
Brian Gough
776535f9f3
move pdf page visibility calculation up into pdfViewer directive
...
removes per-page watch for visibility
2015-01-19 16:55:44 +00:00
Henry Oswald
208dfea5c8
pull right the total prices on the payment page
2015-01-19 15:35:05 +00:00
Brian Gough
2e021b64d8
remove per-page $watch on default page size in pdf viewer
2015-01-19 14:36:20 +00:00
Brian Gough
906c9114cd
replace per-page pdf highlight $watch with highlight event
2015-01-19 14:26:14 +00:00
Brian Gough
adab8c6769
delay pdf spinner by 100ms
2015-01-19 14:24:52 +00:00
Henry Oswald
00810eaf21
Merge branch 'recurlyv3'
2015-01-19 13:51:02 +00:00
Henry Oswald
08000f647d
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-01-19 10:49:45 +00:00
Henry Oswald
17fe30ca0f
sanitise the ref for universities site. and remove unneeded sanitise
2015-01-19 10:49:40 +00:00
Brian
06330e6506
add pdfng scroll handler using requestAnimationFrame
2015-01-16 15:51:22 +00:00
Brian Gough
4e31833131
Merge pull request #138 from sharelatex/pdfng-use-browser-fonts
...
use font-face for pdfjs rendering
2015-01-16 14:31:37 +00:00
Brian Gough
751166d987
Merge branch 'master' into fix-pdfng-progress-bar
...
Conflicts:
public/coffee/ide/pdfng/directives/pdfRenderer.coffee
public/coffee/ide/pdfng/directives/pdfViewer.coffee
2015-01-16 14:19:59 +00:00
Brian Gough
df9cb03dcc
Merge pull request #134 from sharelatex/pdfng-reload-on-error
...
Pdfng reload on error
2015-01-16 14:18:17 +00:00
Brian Gough
d832406923
pdfng: add comment about getDestinations vs getDestination
2015-01-16 12:50:08 +00:00
Henry Oswald
a0f5c09cb9
remove raven source map line
2015-01-15 15:22:45 +00:00
Henry Oswald
f2bc98bc3c
Change debuging to stringify messages in exception message
2015-01-15 15:18:15 +00:00
Brian Gough
157424c7b6
use font-face for pdfjs rendering
2015-01-13 16:39:49 +00:00
Brian Gough
8d568d9663
increase pdfng page load/render timeouts to 1 minute
2015-01-13 16:38:40 +00:00
Brian Gough
5e06043fcb
add loadedCallback to pdfng, detects when pdf is fully loaded
2015-01-13 16:28:24 +00:00
Brian Gough
953821959d
hide progress bar when pdfng has loaded
2015-01-13 16:27:04 +00:00
Brian Gough
1d3d316595
capture all pdfng error callbacks with raven
2015-01-13 15:47:27 +00:00
Brian Gough
823bdcf583
fix scope error in pdf viewer
2015-01-12 17:03:03 +00:00
Brian Gough
887423f8d7
report timeout errors to sentry
2015-01-12 17:02:51 +00:00
Brian Gough
560919b78f
avoid exception in pdf viewer
...
if file was previously bigger, current position could be greater than
the number of pages
2015-01-12 16:47:38 +00:00
Brian Gough
bf8bc27de0
catch errors in pdf viewer and reload if necessary
...
if more than 3 reloads, display error to the user
2015-01-12 16:46:17 +00:00
Brian Gough
7f750ae692
add an error callback to the pdf renderer
...
use page load and render timeouts of 30 seconds to detect hanging pages
2015-01-12 16:45:24 +00:00
Henry Oswald
4bcc9fb5c9
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2015-01-07 16:51:15 +00:00
Henry Oswald
7ec0264fe2
added missing currency symbols to subscription formatter
2015-01-07 16:51:05 +00:00
Henry Oswald
7508ba6c47
improved validation so that fields recurly said are wrong get highlighted
2015-01-07 16:43:20 +00:00
Henry Oswald
f6e9c544e6
slightly improved the breakdown form. Still not very pretty.
2015-01-07 14:59:56 +00:00
Henry Oswald
5d6a96ba4f
made form thinner
2015-01-07 14:51:54 +00:00
James Allen
dd5562f9b6
Send more data to sentry about messages.reverse error
2015-01-07 13:16:38 +00:00
James Allen
10653c12fd
Send more data to Sentry to track down error
2015-01-07 13:16:38 +00:00
James Allen
923fbfc574
Correctly handle quote characters in template name when downloading
2015-01-07 13:16:38 +00:00
James Allen
aec80fb1db
Include FreeTrialModalControler in main.coffee
2015-01-07 13:16:38 +00:00
Henry Oswald
f9843b3709
tax auto updates on change of address now. Is also preset based on users ip address
2015-01-07 13:16:19 +00:00
Henry Oswald
aaaf28f916
added some helper methods into recurly wrapper which can be used by
...
our one time scripts
2015-01-07 12:02:07 +00:00
Henry Oswald
7e64b88fcf
fix cancel subscription on delete user
2015-01-02 10:37:59 +00:00
Henry Oswald
d678af4417
only validate credit card an cvv if there is data in them
2014-12-28 22:19:15 +00:00
Henry Oswald
735dd0811c
changed credit card/paypal logs from offical ones to font very good ones
...
upgraded fontamerican to 4.2
2014-12-28 22:14:39 +00:00
Henry Oswald
1716b16fb0
added placeholder info to address
2014-12-28 22:03:12 +00:00
Henry Oswald
afab06bcac
removed safe message from payment form.
2014-12-28 21:56:17 +00:00
Henry Oswald
474fa5fe19
only validate expiry when both are set
2014-12-28 21:53:12 +00:00
Henry Oswald
1a4825a47b
pulled total price down a little
2014-12-28 19:08:36 +00:00
Henry Oswald
0efb1bba5b
adjusted post code and country field sizes
2014-12-28 19:06:01 +00:00
Henry Oswald
2d03e0532f
adjusted style of payment options
2014-12-28 19:04:47 +00:00
Henry Oswald
40aeed74ce
added little ssl secure message
2014-12-28 18:55:29 +00:00
Henry Oswald
bd52594f23
added new official paypal logo from https://www.paypal.com/uk/webapps/mpp/logo-center
2014-12-28 18:43:53 +00:00
Henry Oswald
673140b620
got new credit card logos from https://www.mastercardbrandcenter.com/us/getourbrand/index.shtml?pageId=dl_0340&expertVisible=false
2014-12-28 18:35:44 +00:00
Henry Oswald
9d57288809
centered the billing forms
2014-12-28 18:23:08 +00:00
Henry Oswald
236d4d7ab3
made the fields smaller and pushed plan name to header
2014-12-28 18:16:55 +00:00
Henry Oswald
137b9c1077
removed some labels and added paypal/credit card logos
2014-12-28 17:59:29 +00:00
Henry Oswald
baa0a42825
coupon field is shown if query string scf is shown
2014-12-28 17:51:36 +00:00
Henry Oswald
7f979e77db
- fixed new payment page so it uses correct plan and currency
...
- submit button is disabled while processing
- removed test data
2014-12-28 17:16:21 +00:00
Henry Oswald
ecb71d5bbf
pull recurely pub api key from settings file
2014-12-23 12:08:01 +00:00
Henry Oswald
12a28d91f2
removed month names
2014-12-23 12:00:41 +00:00
Henry Oswald
74347611e9
don't show the form until we have some data from recurly
2014-12-23 11:44:42 +00:00
Henry Oswald
03311311dd
added translations in
2014-12-23 11:42:56 +00:00
Henry Oswald
e2819c3bc6
added generic error handling to recurly processing and required fields
2014-12-23 11:04:54 +00:00
Henry Oswald
a7eb836c79
redirect to /thank-you on success and fix broken unit test from a few commits ago
2014-12-22 16:37:09 +00:00
Henry Oswald
d0c9783718
added paypal option in, not tested as we don't have paypal in stag
2014-12-22 15:51:50 +00:00
Henry Oswald
fb0a083b36
added address 2
2014-12-22 15:19:40 +00:00
Henry Oswald
6cedfb19d9
cleaned up form and added basic validation
2014-12-22 15:07:55 +00:00
Henry Oswald
fa1ec44e22
coupons work
2014-12-22 14:06:39 +00:00
Henry Oswald
a47b25d4b2
works with multi plan and currency, auto updates view on change
2014-12-22 12:55:29 +00:00
Henry Oswald
5305cbfd3e
got more correct details making it to recurly and improved form.
2014-12-19 11:17:35 +00:00
Henry Oswald
cc545db17b
can add account just about into recurly
2014-12-18 18:59:29 +00:00
Henry Oswald
47fb2a0878
basic angular form which has data bound to it
2014-12-18 17:48:23 +00:00
Brian Gough
505675803b
increase sentry sample rate to 100%
2014-12-18 09:31:38 +00:00
Brian Gough
7429e7845d
add sentry exclusion list and set logging sample rate to 1%
2014-12-16 11:34:48 +00:00
James Allen
2a2dc458e8
Merge pull request #127 from sharelatex/pdfng-server-fixes
...
pdfng server fixes
2014-12-16 10:30:22 +00:00
Brian Gough
79b560f96b
update tests for new pdf viewer server fixes
2014-12-16 09:44:25 +00:00
James Allen
2819935a52
Add photo of Brian
2014-12-15 15:13:34 +00:00
Brian Gough
660bb75df4
add query string parameters for compileGroup= and pdfng=
...
compileGroup will bypass mongo check for compileGroup priority
pdfng will pass pdf Range: headers through from user request to CLSI
2014-12-12 16:47:43 +00:00
James Allen
b260287965
Merge pull request #125 from sharelatex/clientside-error-logging
...
Clientside error logging
2014-12-12 15:54:23 +00:00
Brian Gough
fbf9111d80
Revert "revert to original CLSI proxy call"
...
This reverts commit 99b1b0d6598562b6346921504d1d1d37efe3be86.
2014-12-12 15:43:36 +00:00
Brian Gough
d3b38c8dc2
Revert "Revert test changes for proxied headers when requesting pdfs from clsi"
...
This reverts commit ab31d2c3fdc00a38f6444248011a3871b83dbec2.
2014-12-12 15:43:21 +00:00
Brian Gough
419d84564c
add support for client-side error logging using sentry
2014-12-12 13:58:07 +00:00
Brian Gough
5ffdcc2bbb
make git ignore for 'modules' specific to top-level directory
...
to prevent match with public/coffee/modules/
2014-12-12 13:27:20 +00:00
Henry Oswald
0561adde4b
added more logging
2014-12-12 12:21:14 +00:00
Henry Oswald
bd77d0e020
add null check in on project
2014-12-12 10:27:14 +00:00
Henry Oswald
5c7d77a853
added logging around docstore setting
2014-12-11 16:22:00 +00:00
Brian Gough
f005c5e8dc
Revert test changes for proxied headers when requesting pdfs from clsi
2014-12-11 13:42:51 +00:00
Brian Gough
8a77d619a8
revert to original CLSI proxy call
...
due to problems with cost of authentication when byte-serving
2014-12-11 13:15:13 +00:00
Brian Gough
724116bcc1
Merge branch 'master' into pdfng
2014-12-10 13:18:02 +00:00
Brian Gough
50e03e93ba
poll the element for the pdf viewer if it is zero size
...
avoid invisible pdf forever waiting for layout-ready event when
switching between full-screen and split-screen
2014-12-09 14:40:54 +00:00
Brian Gough
1acc924e0b
comment out console.logs in pdfng
2014-12-09 14:39:58 +00:00
Brian Gough
843fa6f847
handle shutdown of pdf viewer/rendering with destroy method
2014-12-09 13:46:44 +00:00
Brian Gough
b157323eb7
defer loading of pdf destinations until required
2014-12-09 13:45:12 +00:00
Brian Gough
1e2e1ecb9c
stream in the whole pdf file after loading the required page
2014-12-09 13:41:49 +00:00
Henry Oswald
268de7d739
make the user.name more robust
2014-12-09 11:11:06 +00:00
Henry Oswald
611916119a
changed where online users name logic is so it catches all cases.
2014-12-08 18:56:46 +00:00
James Allen
b94a9aab0d
Hide loading bar once loaded enough to render
2014-12-08 17:48:57 +00:00
James Allen
48d4e96221
Remove development styles
2014-12-08 17:39:33 +00:00
James Allen
8c40432e18
Use fixed sized spinner
2014-12-08 17:39:24 +00:00
Brian Gough
63ac1093bc
keep pages visible after a recompile until they are ready to rerender
2014-12-08 17:00:43 +00:00
Brian Gough
c3569dd45f
add a progress event in the pdfng viewer
2014-12-08 17:00:26 +00:00
Brian Gough
2a66651ec9
flash the pdf controls in pdfng
2014-12-08 15:32:16 +00:00
Brian Gough
863c8b9586
prevent exception when scrolling during rerender in pdfng
2014-12-08 15:32:05 +00:00
Brian Gough
206e7db144
add spinners and classes for feedback on pdfng loading and rendering
2014-12-08 14:46:59 +00:00
Brian Gough
89d63c4f44
handle fullscreen mode in pdfng
...
default to scale = 1 when containing div size is zero
2014-12-08 10:28:02 +00:00
Brian Gough
0ae83d9be4
rescale pdf on parent size initialisation in addition to resizes
2014-12-05 19:42:16 +00:00
Brian Gough
407cecc0d3
save the pdf state when the directive is destroyed
2014-12-05 19:40:33 +00:00
Brian Gough
5915bfd885
prevent change to navbar url in pdf viewer
...
return false from pdf <a> click handler
2014-12-05 14:59:00 +00:00
Brian Gough
265ad4439c
Merge branch 'master' of github.com:sharelatex/web-sharelatex into pdfng
2014-12-05 14:43:01 +00:00
Brian Gough
1284ce613c
support pdf double click
2014-12-05 14:33:06 +00:00
Brian Gough
4c0f3c55d7
clear the pdf renderqueue faster after the initial page has rendered
2014-12-05 12:14:40 +00:00
Brian Gough
7ea20c4266
avoid exception on pdfPage destroy
2014-12-05 12:12:17 +00:00
Brian Gough
c167e86ba5
use timeout instead of requestAnimationFrame in pdf scroll handler
...
for simplicity as the time delay is large compared with rAF
2014-12-05 12:12:01 +00:00
Henry Oswald
70d0af519b
reset project to large state each time
2014-12-05 00:10:46 +00:00
Brian Gough
2074326237
render pdf pages in ascending order, fix bug where pages could be left unrendered
2014-12-04 16:52:11 +00:00
Brian Gough
4faac88065
handle destroy event in pdf page view and remove pending timeouts
2014-12-04 16:50:38 +00:00
Brian Gough
f8c1c5b025
avoid unnecessary retrieval of pdf viewport when rendering
2014-12-04 16:50:00 +00:00
Brian Gough
44057a9632
only check pdf page visibility on scroll every 50ms
2014-12-04 16:49:24 +00:00
Brian Gough
a15a6d877f
avoid exception when elements in pdf view have been removed
2014-12-04 16:44:41 +00:00
Brian Gough
ce4fb7ec04
remove the pdf spinner, it causes unwanted reflow/repaint
2014-12-04 16:44:14 +00:00
Brian Gough
b388c587e5
remove debugging log for pdf featureswitch
2014-12-04 16:42:28 +00:00
Brian Gough
05af3573b6
try disabling pdfjs font face usage for performance
...
each new font face rule causes a full screen repaint
2014-12-03 15:18:58 +00:00
Brian Gough
a4ddfd5725
whitelist proxied headers when requesting pdfs from clsi
2014-12-03 15:09:46 +00:00
James Allen
4020c2f760
Update wrong synctex tooltip
2014-12-03 11:01:41 +00:00
James Allen
31ee8eea8b
Show sync panel for everyone except anonymous users
2014-12-03 10:09:40 +00:00
Brian Gough
35b6abe79c
fix tests for pdf header passing
2014-12-02 16:36:19 +00:00
Brian Gough
138170be60
pass headers through when proxying request to allow for byte-range/etag handling
2014-12-02 14:53:46 +00:00
Brian Gough
94448ed447
comment out logs/unused code in pdf viewer
2014-12-02 11:43:14 +00:00
Brian Gough
25521d1a26
insert the pdf text and annotations after the page has been rendered
2014-12-02 11:03:07 +00:00
Brian Gough
7071ee3540
set the size of the pdf container using jquery methods
2014-12-02 11:02:09 +00:00
Brian Gough
85750dfeb6
need to set the height of the container to get the pdf spinner working
2014-12-02 11:01:45 +00:00
Brian Gough
d6e47c2701
display empty div.pdf-canvas element as a blank page while it is being rendered
2014-12-02 11:00:33 +00:00
Brian Gough
ce8b5dd11c
generate fingerprints for the new pdf.js files
2014-12-01 16:48:40 +00:00
Brian Gough
f260b141a0
use the current stable version of pdfjs - previously committed HEAD version by accident
2014-12-01 16:27:24 +00:00
Brian Gough
4888ae8766
fix infinite loop in translated coffeescript for pdfng text layer
2014-12-01 16:26:48 +00:00
Brian Gough
5053536fff
load the compatibility library from the correct version of pdf.js
2014-12-01 15:41:17 +00:00
Brian Gough
440c1d3987
avoid exception
2014-12-01 15:24:19 +00:00
Brian Gough
0420e4638d
exclude pdf.js from the compiled build, to allow switching
2014-12-01 14:36:23 +00:00
Brian Gough
be91bc2754
disable PDF.js autofetch only when used in new pdf viewer
2014-12-01 14:35:58 +00:00
Brian Gough
25bebe1104
support old and new pdf viewers depending on feature switch
2014-12-01 14:35:12 +00:00
James Allen
c70c048aae
Send clear cache requests to the correct CLSI group
2014-12-01 12:19:01 +00:00
Brian Gough
3fd8bfb221
make the pdf viewer directive conditional depending on user feature switch
2014-12-01 11:47:56 +00:00
Brian Gough
3c05e032bd
rename the new pdf directive to pdfng
2014-12-01 11:46:52 +00:00
Brian Gough
a7f9a68159
removed duplicated pdf controllers
2014-12-01 11:45:56 +00:00
Brian Gough
608e6cd0d9
remove autogenerated file
2014-12-01 10:42:57 +00:00
Brian Gough
ff04e1662a
moved new pdf viewer under base App module
2014-12-01 10:42:47 +00:00
James Allen
e0178b17b5
Pass compile group correctly to Clsi._buildRequest
2014-12-01 10:28:09 +00:00
Brian Gough
175de30967
Merge branch 'master' into pdfng
2014-12-01 10:09:04 +00:00
Henry Oswald
a570d05132
fixed bug with setting root doc which would fail if the document class isn't on the top line
2014-12-01 01:07:03 +00:00
Brian Gough
57b09e1d60
started making pdf viewer conditional - work in progress
2014-11-28 16:59:39 +00:00
Brian Gough
57f4177f30
added pdfjs-1.0.712 in a subdirectory
2014-11-28 16:01:14 +00:00
Brian Gough
f09807cf33
Revert "upgrade pdf.js to v1.0.712"
...
This reverts commit 1ace92f67d91395d047281047be2f0cff5ea7848.
2014-11-28 15:25:29 +00:00
Brian Gough
d8e07731e0
clean up unnecessary redraws
2014-11-28 15:08:24 +00:00
Brian Gough
7485b564bc
fix off by one error in viewport retrieval
2014-11-28 14:39:17 +00:00
Brian Gough
23011cf221
convert page indices from 1-based to 0-based to match pdfListView positions
2014-11-28 14:34:05 +00:00
James Allen
175dfae085
Look up compile group and features from project owner, not current user
2014-11-28 14:26:21 +00:00
James Allen
2c5f3c728c
Highlight \vref like \ref
2014-11-28 13:58:27 +00:00
James Allen
dbd7b95823
Close spell check menu on scroll so it doesn't appear in the wrong position
2014-11-28 13:27:25 +00:00
Brian Gough
f914c75712
highlights working for moving to position in pdf from source
2014-11-28 11:57:23 +00:00
James Allen
793763f206
Merge pull request #120 from watercrossing/POSTFix
...
Declare forms to use method="POST" explicitly
2014-11-28 11:11:18 +00:00
Brian Gough
ea310f0248
highlights/dblclick in pdfng - work in progress
2014-11-27 16:58:38 +00:00
Henry Oswald
20a5ad6e27
fixed where project to large code is passed from
2014-11-27 16:22:39 +00:00
Henry Oswald
fa755c6521
added project to long check from clsi2 (bit of a punt)
2014-11-27 15:42:37 +00:00
Brian Gough
3694bea956
use margin for height/width in pdfng
2014-11-27 14:16:32 +00:00
Brian Gough
b8377bca7b
fix offset calculation to match pdflistview
2014-11-27 13:46:22 +00:00
Brian Gough
7b4ca6501b
update the margin size of pdfng
2014-11-27 13:42:05 +00:00
Brian Gough
21e5fb08cd
replicate the pdflistview classes in pdfng viewer
2014-11-27 13:41:48 +00:00
Henry Oswald
0bc76b6d92
mkdir p changed so it does not get entire project, now without doc lines
2014-11-27 12:07:49 +00:00
Henry Oswald
63deb0a508
Revert "added lock to update merger"
...
This reverts commit 8cdac1d74fd63d6ef83ce1e60ba41b9195ed0cac.
2014-11-27 11:46:17 +00:00
Henry Oswald
280895bdf5
added lock to update merger
2014-11-27 10:46:52 +00:00
Henry Oswald
ca8a21c425
change async to series
...
no real gain from parallel, series might reduce the cpu load if it finds the doc early
2014-11-26 21:53:57 +00:00
Henry Oswald
5e570d52a0
modfied setRootDocAutomatically to work async
...
was causing cpu to block for along time on big projects
2014-11-26 17:19:21 +00:00
Brian Gough
a15ee57d77
working on zoom/fit buttons
2014-11-26 16:52:54 +00:00
Brian Gough
6c1cee1431
save pdf position and scale
2014-11-26 16:18:59 +00:00
Brian Gough
7b66802bf5
set up pdf viewer app in base
2014-11-26 16:18:39 +00:00
Brian Gough
d0fb34b2aa
Merge branch 'master' into pdfng
2014-11-26 15:42:42 +00:00
Henry Oswald
393a637673
remove a couple of required coffee-scritps which are not required
2014-11-26 15:37:53 +00:00
Henry Oswald
857d867191
added locks into editor controller for new/move/deletes
...
filesystem import manager uses the unlocked version
2014-11-26 15:32:23 +00:00
Brian Gough
33d94af930
Merge branch 'master' into pdfng
2014-11-26 14:17:02 +00:00
Henry Oswald
bd841b4795
coppied the lock manager over from doc updater
2014-11-25 16:52:27 +00:00
Brian Gough
643bda6095
add pdfng module and use it by default
2014-11-25 16:49:09 +00:00
Brian Gough
81b8594944
upgrade pdf.js to v1.0.712
2014-11-25 15:58:01 +00:00
Henry Oswald
ba784c3e62
changed swiss franks to show Fr for display issues
2014-11-25 13:18:57 +00:00
Henry Oswald
d070c0acd8
fixed SGD collab price
2014-11-25 13:14:38 +00:00
Henry Oswald
3bae278c92
Revert "increased timeout for geoip to 3 seconds"
...
This reverts commit e4c892b59734a0b6b67ad37a1d09c1618ec389d4.
2014-11-25 13:10:00 +00:00
Henry Oswald
d91064a369
increased timeout for geoip to 3 seconds
2014-11-25 11:51:03 +00:00
Henry Oswald
dbecadcaea
Merge branch 'master' into multicurrency
2014-11-25 11:35:59 +00:00
Henry Oswald
dd37436da2
delete old cookie keys
2014-11-25 11:35:46 +00:00
Henry Oswald
02ef07dca4
broken free trial func into own file. added ab test on upgrade button colour
2014-11-24 23:59:55 +00:00
Henry Oswald
6c0f03e9c7
added ab test to show collar plan to people in editor
2014-11-24 16:21:03 +00:00
James Allen
afca9ba0cb
Fix unit tests
2014-11-24 14:26:51 +00:00
James Allen
b8fdbdb406
Handle errors in request pipes
2014-11-24 13:58:41 +00:00
James Allen
970125b7a8
Check for null project in joinProject
2014-11-24 13:43:08 +00:00
James Allen
3578e41c9c
Add null check into FileTypeManager isDirectory check
2014-11-24 13:39:07 +00:00
James Allen
d4af0fe36d
Wrap smoke test in domain to catch errors
2014-11-24 13:36:10 +00:00
James Allen
c28e09076b
Add missing logger include in smoke test
2014-11-24 13:33:03 +00:00
Henry Oswald
a52b91691a
Merge branch 'master' into multicurrency
2014-11-21 13:16:29 +00:00
Henry Oswald
6d22bda88f
added new currencies removed ab test as well
2014-11-21 13:13:53 +00:00
James Allen
485459c839
Use real-time server for websockets
2014-11-21 12:44:41 +00:00
Henry Oswald
24b3226fcf
bump redis version
2014-11-20 12:50:55 +00:00
Henry Oswald
851764f269
bump package.json
2014-11-20 11:10:22 +00:00
Henry Oswald
6c746d9aec
added redis health check in
2014-11-19 23:18:20 +00:00
Henry Oswald
458e4335de
added a load more currencies
2014-11-19 21:34:13 +00:00
Henry Oswald
57abc2cb24
lock down the version of redis
2014-11-19 16:45:10 +00:00
Henry Oswald
9e63b6c3a1
use redis 0.0.6
2014-11-19 16:41:12 +00:00
Henry Oswald
cd8c233c05
Revert robust redis connection code
2014-11-19 15:06:05 +00:00
Henry Oswald
dbb1d68b66
added SEK and CAD currencies
2014-11-19 14:52:59 +00:00
James Allen
8b9a26d6f3
Add in http health check end points for redis subscription channels
2014-11-19 14:12:37 +00:00
James Allen
34e20e99f5
Pull redis from github master temporarily
2014-11-19 11:09:59 +00:00
James Allen
d6532c63f8
Use new robust subscription model
2014-11-19 11:09:42 +00:00
James Allen
5ec9e587f0
Roll back real-time settings for now
2014-11-19 11:09:32 +00:00
James Allen
22346f5532
Revert "Pull redis from github master temporarily"
...
This reverts commit 919fbdf8945bdd2cdb5ddda5a7ac8c5b7395597b.
2014-11-18 18:01:58 +00:00
James Allen
f8cbc5d51a
Pull redis from github master temporarily
2014-11-18 15:55:08 +00:00
Ingolf Becker
9d71073a5c
Added more POST declarations
2014-11-17 15:19:11 +00:00
Henry Oswald
bb5ec10609
don't try and get angular min map file
2014-11-17 14:55:48 +00:00
Ingolf Becker
fd28751db0
Change Login and Register methods to use POST rather than GET
2014-11-17 14:55:28 +00:00
James Allen
e559c72491
Connect to configurable websocket service
2014-11-17 13:38:44 +00:00
Henry Oswald
804bc16bc8
redirect users to /register when coming from templates or share url
...
redirect to /login when going anywhere else (/project /project/1234)
2014-11-13 17:12:39 +00:00
Henry Oswald
efe8667e5e
changed the top level on bonus
2014-11-13 15:23:13 +00:00
Henry Oswald
f5d3801bfb
changed findElementByPath to not call cb more than once & deal with nulls
2014-11-11 14:44:44 +00:00
Henry Oswald
948183b685
return done in smoke test
2014-11-10 16:33:36 +00:00
Henry Oswald
ae897cb41d
try catch encodeURIComponent
2014-11-10 16:30:02 +00:00
Henry Oswald
c920874872
added null check to compile features
2014-11-10 11:26:40 +00:00
Henry Oswald
29ae816432
added next into controller for error
2014-11-10 11:23:07 +00:00
Henry Oswald
e077108993
null check user in logging
2014-11-10 11:21:59 +00:00
Henry Oswald
4c905c168a
do null check on csrf token in smoke test
2014-11-10 11:20:34 +00:00
Henry Oswald
e9232eb197
try catch converting id to object id
2014-11-09 23:08:23 +00:00
James Allen
6d10e45135
Fix unit test
2014-11-07 12:35:10 +00:00
James Allen
84c08edcf3
Factor out common joinProject logic to provide and HTTP end point for the real-time API
2014-11-07 12:31:47 +00:00
James Allen
218f5fedf8
Fix broken template creation route
2014-11-07 11:21:55 +00:00
James Allen
f7e6b24ff6
Save template description on modal close
2014-11-07 10:26:09 +00:00
James Allen
a59a2dcf39
Make sure to send description before publishing
2014-11-07 10:20:29 +00:00
James Allen
c9e5583394
Use local versions of jquery and angular
2014-11-07 09:49:30 +00:00
James Allen
9c5ae5adf4
Remove unused old update method
2014-11-07 09:39:17 +00:00
James Allen
d27af25bc9
Convert template publishing to use HTTP end points
2014-11-06 14:39:40 +00:00
James Allen
7b6ec86cef
Access Dropbox status via HTTP end points
2014-11-06 14:39:40 +00:00
James Allen
e596b60af0
Move collaborator HTTP end points into the Collaborators feature
2014-11-06 14:39:40 +00:00
James Allen
5c3e8e6d88
Add and remove collaborators with HTTP requests, not websockets
2014-11-06 14:39:40 +00:00
James Allen
94a17bd36d
Remove unused socket.io endpoints
2014-11-06 14:39:40 +00:00
Henry Oswald
1a2411d4c2
removed bad require in test causing redis to be required in unit test #shouldhavebeenabountyhunter
2014-11-06 12:07:50 +00:00
Henry Oswald
a2f99bc04f
prevent spell check from running twice on doc load
2014-11-04 14:20:59 +00:00
Henry Oswald
908926a0cc
compiled pdf.worker with closure compiler manually
2014-11-04 12:44:45 +00:00
Henry Oswald
05a872763e
revert updated pdf worker and don't minify it
...
This reverts commit ffbf6f052f1800b55c7636a98e4f16fdf629c376.
2014-11-04 12:16:06 +00:00
Henry Oswald
be6f0c1ad7
updated pdf worker
2014-11-04 12:10:21 +00:00
Henry Oswald
15285b67cc
minify more assets
2014-11-04 12:01:53 +00:00
Henry Oswald
b9dd2d826e
added null check on subscription for group plans
2014-11-04 10:53:03 +00:00
James Allen
22f5c5dcb9
Keep spacing consistent
2014-11-03 14:25:53 +00:00
James Allen
1d6647e67d
Add in github to plans page
2014-11-03 14:23:12 +00:00
Henry Oswald
16e93b6f1b
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-11-03 12:07:53 +00:00
Henry Oswald
edf715919d
send user to 404 if templates returns 404
2014-11-03 11:48:56 +00:00
Henry Oswald
4c7293f8c2
remove lang from page title in wiki article
2014-11-03 11:48:43 +00:00
James Allen
528ff743e8
Remove github feature flat
2014-11-03 10:55:35 +00:00
Henry Oswald
ccae47979f
added chinese flags under cn
2014-10-31 13:21:04 +00:00
Henry Oswald
30100f2a07
fixed badly called flushProjectToThirdPartyDataStore causing issues with initial drobox sync
2014-10-31 12:41:06 +00:00
Henry Oswald
aeb956c8a4
wiki will try and get spanish version of page then fall back to english if it is not there
2014-10-31 12:15:03 +00:00
Henry Oswald
e0aae65050
added file ref null check
2014-10-31 10:50:20 +00:00
Henry Oswald
0f4d9771aa
added null check to where we insert elements into a project
2014-10-31 10:37:44 +00:00
Henry Oswald
d428e7e5b4
handle a null in the file refs list
...
this seems to happen now and then when there is networking issues
2014-10-31 10:34:21 +00:00
Henry Oswald
4f590d7acb
added chinese flags in
2014-10-30 11:52:45 +00:00
Henry Oswald
14d32af6bf
allow ace to scoll off screen
2014-10-30 08:33:54 +00:00
Henry Oswald
56efefd6d4
renamed variable
2014-10-30 08:33:18 +00:00
James Allen
ca664e0063
Get subscription status correctly for showing upgrade/bonus link
2014-10-27 15:00:46 +00:00
James Allen
2a69e185ce
Append spell check menu to body so it isn't hidden by PDF view resizer
2014-10-27 14:51:28 +00:00
James Allen
184189fa3f
Disable hotkeys for layout panels since they interfere with text editing
2014-10-27 14:47:06 +00:00
James Allen
f1ddff4061
Only ignore hidden files from Dropbox, not GitHub
2014-10-27 14:39:20 +00:00
Henry Oswald
f4be1884d3
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-10-27 11:23:50 +00:00
Henry Oswald
011bdc4617
explicitly set the file types to delete
...
the wild card version can get mixed up with app.del '/project/:project_id/contents/*', httpAuth, TpdsController.deleteProjectContents
2014-10-24 12:01:52 +01:00
James Allen
2debba6bbc
Update PGP key
2014-10-24 11:55:30 +01:00
Henry Oswald
0a123418ac
insert ref data into uni page
2014-10-23 14:13:40 +01:00
Henry Oswald
fab0dc5cbc
change button to a
2014-10-23 11:51:35 +01:00
Henry Oswald
b067e0d0a4
fixed email us button on templates
2014-10-23 11:18:04 +01:00
Henry Oswald
0f8519f619
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-10-21 14:57:52 +01:00
Henry Oswald
c60f11519f
added ga logging of starting free trial again
2014-10-21 14:06:53 +01:00
Henry Oswald
8097e6ad71
made 7 day free trial the default
2014-10-21 13:48:46 +01:00
James Allen
281c4eb4e3
Style tweaks for uni site
2014-10-21 13:39:47 +01:00
Henry Oswald
4bd0708029
put the compile group on the session so proxied requests are sent to the correct place
...
I know this is premature optimisation however we do make a lot of requests
to the clsi for each compile and this will save mongo a lot of calls
2014-10-21 09:34:58 +01:00
Henry Oswald
fb53be7ce4
Revert "priority compiles are proxyed to the priority servers"
...
This reverts commit 5375af085a1fc20def19a858e3f63c52f3bec9b0.
2014-10-21 09:16:23 +01:00
Henry Oswald
250606472d
priority compiles are proxyed to the priority servers
2014-10-20 17:48:00 +01:00
Henry Oswald
36136a99ca
fixed escaping of html
2014-10-20 15:46:42 +01:00
Henry Oswald
9be31a2ac1
removed type: from log lines
2014-10-20 14:24:39 +01:00
Henry Oswald
7ba6689ea0
add clsi2_priority to settings.defaults
2014-10-20 12:21:58 +01:00
Henry Oswald
3cf64ce34f
pass new compile features to client side, don't show timeout upgrade for premium users
2014-10-20 12:21:40 +01:00
Henry Oswald
fc4bc08fc2
added upgrade to get faster compiles message to timeout
2014-10-17 16:01:26 +01:00
Henry Oswald
b9d6d5bbf1
set the request timeout to a few mins for the compile
2014-10-17 13:23:29 +01:00
Henry Oswald
e7906f7018
timeout option passed to clsi
2014-10-16 18:43:48 +01:00
Henry Oswald
7293ccf06d
if user has premium compile send them to a different server set
2014-10-16 17:52:21 +01:00
Henry Oswald
5a4a90924b
added default opts for users compile features
2014-10-16 16:57:51 +01:00
Henry Oswald
1506f86a5f
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-10-16 16:34:25 +01:00
Henry Oswald
d97e42a959
get users features for compile options i.e. timeout and which compiler
2014-10-16 16:34:21 +01:00
Henry Oswald
d8cc3b7b61
fixed leaky test
2014-10-16 16:02:31 +01:00
James Allen
8fa8a64c6f
Update email templates
2014-10-16 12:46:38 +01:00
James Allen
f3a1ba93a4
Fix argument signature of mergeUpdate and deleteUpdate
2014-10-16 11:43:54 +01:00
James Allen
46ecaf9f6c
Fix broken argument signature of addFolder
2014-10-16 11:27:10 +01:00
James Allen
9f1a7c7396
Send source of update to doc updater and allow external updates to be ignored in UI
2014-10-16 11:27:10 +01:00
Henry Oswald
1b893ff502
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-10-15 16:22:01 +01:00
Henry Oswald
750b050358
added ab test in for multi currency
2014-10-15 16:21:45 +01:00
James Allen
7e9318814d
Send source of update to doc updater on setDocument request
2014-10-15 15:36:08 +01:00
James Allen
6800c1a15e
Track the source of updates through the system on adding/updating of docs and files
2014-10-15 15:18:31 +01:00
James Allen
4f2ab51ebd
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-10-15 14:11:11 +01:00
James Allen
941f550d6c
Remove all traces of soa-req-id
2014-10-15 14:11:02 +01:00
Henry Oswald
af769c7871
allow ip to set via query string for plans page
2014-10-15 11:58:35 +01:00
Henry Oswald
e443809206
free trial length is show correctly at bottom of plans page
2014-10-15 11:49:20 +01:00
James Allen
fd8991f62e
Sort out responsive flow
2014-10-15 10:23:08 +01:00
James Allen
64fe2a2404
Improve CSS and layout of feature list on new subscription page
2014-10-15 10:22:03 +01:00
James Allen
b32375530c
Refactor card css for use in new subscription page
2014-10-14 15:46:44 +01:00
Henry Oswald
b2b13ef9a7
pass plan to payment page to get the number of collaborators
2014-10-14 12:14:24 +01:00
Henry Oswald
19a08f82a6
default to USD if there is no match
2014-10-14 12:14:03 +01:00
Henry Oswald
4a774981cf
Merge branch 'master' into multicurrency
2014-10-14 11:52:03 +01:00
Henry Oswald
2538d16e63
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-10-14 11:50:10 +01:00
Henry Oswald
3bac4dc39f
increase auto compile limit
2014-10-14 11:50:06 +01:00
Henry Oswald
6437f74cd3
use req.ip not x-forwarded-for to get ip address for multi currency
2014-10-13 17:55:18 +01:00
Henry Oswald
3382c5bb17
added blurb to payment page
2014-10-13 17:51:59 +01:00
Henry Oswald
5a0d74753f
plans page will auto redirect to best guess currency
2014-10-13 17:39:44 +01:00
Henry Oswald
52c54e7300
added ability to change currency on payment page
2014-10-13 17:28:00 +01:00
Henry Oswald
58f6ae323b
fix which plan is "your plan" on dashboard
2014-10-13 16:33:01 +01:00
Henry Oswald
2bbdea3433
renamed change currency function and sorted out recommended currency
2014-10-13 16:27:27 +01:00
Henry Oswald
2bf34bba4d
added currency to subscription view model
2014-10-13 16:14:13 +01:00
Henry Oswald
f55ef2f1b4
made what is returned for multi currency more explicit
2014-10-13 16:13:31 +01:00
James Allen
3c058edfb4
Add github feature flag to user model
2014-10-13 15:45:19 +01:00
Henry Oswald
7964616f02
changing email address should lowercase the email
2014-10-13 15:44:45 +01:00
James Allen
5edefe2498
Add in compile timeout and group feature options
2014-10-13 15:42:11 +01:00
James Allen
cfb3969b88
Fix alignment in left menu
2014-10-13 14:45:45 +01:00
Henry Oswald
36264706f6
hooked the plans page up to the geo ip lookup
2014-10-13 14:10:15 +01:00
Henry Oswald
3ca04e25fd
add 1 second timeout to geoiplookup
...
response times generally seem to be around 0.05s from our servers
2014-10-13 13:15:48 +01:00
Henry Oswald
2e6c2c1926
default to USD in geo ip lookup.
...
Decided to put default logic in the GeoIpLookup.getCurrencyCode as
we are going to want this default everywhere we use it.
2014-10-13 13:08:11 +01:00
Henry Oswald
e78e4d46b0
use first ip passed though in string for ip lookup
2014-10-13 13:04:20 +01:00
Henry Oswald
259871cbdd
added geoip lookup feature
2014-10-13 00:45:45 +01:00
Henry Oswald
40c3c3e1ce
added customAccount to subscription model
2014-10-10 15:57:27 +01:00
Henry Oswald
7b37bed2cd
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-10-10 15:45:09 +01:00
Henry Oswald
b90003b11e
added custom user dashboard page
2014-10-10 15:44:53 +01:00
Henry Oswald
3ba3a91043
if its a custom account redirect to /user/subscription/custom_account
2014-10-10 15:11:22 +01:00
James Allen
a8afe3a0d7
Improve file uploader CSS
2014-10-10 13:40:00 +01:00
Henry Oswald
c7a3cb87c2
added modules folder
2014-10-10 09:50:53 +01:00
Henry Oswald
e5ab40c911
added example session invalidation code
2014-10-09 18:10:01 +01:00
Henry Oswald
e7984a90d7
unlink dropbox when a user cancels
2014-10-09 17:05:41 +01:00
Henry Oswald
9924882b59
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-10-09 16:45:26 +01:00
Henry Oswald
9803f8bd70
changed uni page holder and footer
2014-10-09 16:45:04 +01:00
James Allen
4743b460f5
Only show rename or deleted message once
2014-10-09 09:13:38 +01:00
James Allen
bc94ea56cb
Add projects to tag after creating the tag
2014-10-09 08:39:15 +01:00
James Allen
3bf7948510
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-10-08 17:18:57 +01:00
James Allen
accd8207b2
Show password reset expired message rather than server error if that's what has happened
2014-10-08 17:18:24 +01:00
Henry Oswald
1f5d7ee6a8
Merge pull request #116 from mickaobrien/keyboard-shortcuts
...
Added keyboard shortcuts to bold and italicise text
2014-10-08 16:56:03 +01:00
James Allen
7258fadd17
Improve styling of plan name and price on subscription form
2014-10-08 16:52:37 +01:00
Mick O'Brien
834e27f3c5
Fix indentation in italics shortcut
2014-10-08 16:34:44 +01:00
James Allen
696e8d24e1
Fix z index of more updates buttons
2014-10-08 16:32:42 +01:00
Mick O'Brien
b7db72e574
Replace $isEmpty check
2014-10-08 16:17:38 +01:00
Henry Oswald
c2c29bb282
university site renders via prozy ok
2014-10-08 16:07:44 +01:00
James Allen
8f7dff1518
Don't show empty sync menu list for collaborators
2014-10-08 15:57:56 +01:00
Mick O'Brien
72fc630e81
Added keyboard shortcuts to bold and italicise text
2014-10-08 15:44:01 +01:00
James Allen
3a9d8c2b31
Make Dropbox unlinking consistent with github
2014-10-08 14:02:37 +01:00
James Allen
82dc3cf654
Don't reload module views each request by default
2014-10-08 12:39:36 +01:00
James Allen
b62fb3960c
Fix javascript compiling when there are no modules
2014-10-08 12:22:04 +01:00
James Allen
128c672edd
Merge branch 'github-sync'
...
Conflicts:
package.json
2014-10-08 12:13:37 +01:00
James Allen
e406034ad6
Add in Dropbox description
2014-10-07 14:42:03 +01:00
James Allen
dbd85a05f1
Send user features and features switches to views where needed
2014-10-07 13:31:13 +01:00
Henry Oswald
8789a4bde1
server rejects rename of entitys over 150 chars
2014-10-07 11:16:26 +01:00
Henry Oswald
b01b05e49b
server rejects project names over 150 chars
2014-10-07 11:14:02 +01:00
Henry Oswald
28b1e6bfe5
added client side checks on how long project or entity names can be
...
150 chars should be safely under the 1024 bytes mongo index limit
2014-10-07 11:08:08 +01:00
James Allen
6c7c09075c
Treat paths properly in project content update methods
2014-10-03 11:33:18 +01:00
James Allen
10732d112d
Hook module system into project list page
2014-10-03 11:32:59 +01:00
Henry Oswald
b05c6bb001
fixed hiding lang popup in firefox
2014-10-02 17:27:02 +01:00
James Allen
13a96c925b
Add in endpoints to allow updating project files when the project id is know
2014-10-02 14:15:30 +01:00
Henry Oswald
3442786930
fixed template error
2014-09-30 21:52:00 +01:00
Henry Oswald
de6135c777
added missing translations
2014-09-30 11:41:47 +01:00
Henry Oswald
9faf4771e7
added ab test controller so it is always loaded
2014-09-29 17:33:54 +01:00
Henry Oswald
e35a32d7d7
take minor versions of redis-sharelatex
2014-09-29 12:48:26 +01:00
Henry Oswald
2375dbb851
run succesful login before each smoke test to avoid any rate limit issues
2014-09-29 11:45:34 +01:00
Henry Oswald
7f2df4bbd3
renamed rate limiter tests
2014-09-29 11:42:46 +01:00
Henry Oswald
49e7777b6d
bumped redis-sharelatex
2014-09-29 11:42:28 +01:00
Henry Oswald
0d056434e6
fixed tests
2014-09-26 17:49:31 +01:00
Henry Oswald
9a97245c01
Merge branch 'redis-sentinal'
2014-09-26 17:40:53 +01:00
Henry Oswald
81307324fc
v2, seems to work...
2014-09-26 17:04:33 +01:00
Henry Oswald
a0174c649b
added a couple of missing translations
2014-09-26 16:35:57 +01:00
Henry Oswald
ca4dc9bf00
added missing translation
2014-09-26 15:04:25 +01:00
Henry Oswald
f73629f8d9
v1 of sentinal support
2014-09-26 14:52:00 +01:00
Henry Oswald
ab46d6ec1a
30 != 7 days
2014-09-26 11:33:34 +01:00
Henry Oswald
b1562984c0
added tr flag
2014-09-26 11:25:29 +01:00
Henry Oswald
21f46da08a
changed ab test from 30 -> 14 to 14 -> 7
2014-09-26 10:56:45 +01:00
Henry Oswald
d5f816598d
fixed incorrect message showed in pubic modal
2014-09-20 09:20:36 +01:00
Henry Oswald
558b6cdfde
remove test which isn't really that important
2014-09-18 14:41:30 +01:00
Henry Oswald
2376d0a188
added generic error logging
2014-09-18 14:37:23 +01:00
Henry Oswald
9c98e95ca4
send cancelation email after 1 hour
2014-09-16 14:25:12 +01:00
Henry Oswald
6efda9cf1c
push currency default to seperate var
2014-09-11 11:45:00 +01:00
Henry Oswald
20f0c648e5
default to USD
2014-09-11 11:35:39 +01:00
Henry Oswald
583b333a73
change nexted level of templates ng-controller
2014-09-10 15:33:59 +01:00
Henry Oswald
1b02dc72a3
destroy session on dropbox webhook
2014-09-10 14:19:44 +01:00
Henry Oswald
c08a568664
removed session logging
2014-09-10 10:09:25 +01:00
Henry Oswald
d961b48857
imporved logging for session debug
2014-09-10 08:20:36 +01:00
Henry Oswald
bed78665f5
hide the currency dropdown for the moment
2014-09-10 08:17:22 +01:00
Henry Oswald
50ee889569
fixed template search, ng-controller was too deep
2014-09-09 16:51:52 +01:00
Henry Oswald
ca402a3061
added some logging in for sessions
2014-09-08 17:45:37 +01:00
Henry Oswald
187e87a978
disabled euro and pounds for the moment
2014-09-08 17:45:03 +01:00
James Allen
e973a66482
Allow client side module code injection
2014-09-08 17:33:30 +01:00
James Allen
db9632f8f2
Allow modules to inject parts of views
2014-09-08 15:40:46 +01:00
James Allen
374c0f3d65
Add existence check for modules dir
2014-09-08 14:23:47 +01:00
James Allen
becb294c5c
Create basic module loading system
2014-09-08 14:19:24 +01:00
Henry Oswald
93b4c5f4f8
thank you page displays the correct currency
2014-09-08 10:59:12 +01:00
Henry Oswald
aee0dda243
added currency to signiture
2014-09-08 10:36:30 +01:00
Henry Oswald
f1372fc449
moved button, not that pretty
2014-09-05 16:11:19 +01:00
Henry Oswald
ff0365c157
change plan has multi currency view
2014-09-05 15:47:08 +01:00
Henry Oswald
08e61efeb6
added some whitespace betten translations
2014-09-05 13:12:23 +01:00
Henry Oswald
08cebe369d
close dropdown on click
2014-09-05 12:16:02 +01:00
Henry Oswald
eeb27062a0
added currency query string param to subscribe button
2014-09-05 11:40:14 +01:00
Henry Oswald
13a667f47a
v1 of multi currency
2014-09-04 19:03:04 +01:00
Henry Oswald
8762297158
touch the session rather than setting the expires, same result
2014-09-04 18:07:31 +01:00
Henry Oswald
b875864568
check for error on smoke test after
2014-09-04 18:06:24 +01:00
James Allen
971afb7342
Treat large text files as binary
2014-09-04 13:00:51 +01:00
Henry Oswald
c131a9d301
added /logout to smoke tests
2014-09-04 12:35:59 +01:00
Henry Oswald
69eafd2a74
added more console .logs
2014-09-02 14:03:31 +01:00
Henry Oswald
137cffabec
added some console.logs in
2014-09-02 13:54:09 +01:00
Henry Oswald
5d3dacae99
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-09-02 13:20:06 +01:00
Henry Oswald
7fc0388003
fixed case sensitivity
2014-09-02 13:19:59 +01:00
James Allen
9d7b52ca4d
Merge pull request #105 from watercrossing/listenToHost
...
Add logic to bind the web app to a specific host
2014-09-02 12:13:50 +01:00
watercrossing
fc9b887c0b
Add ability to specify interface
2014-09-02 12:00:33 +01:00
Henry Oswald
75e570c076
fix ab cookies and send 0 event when clicking monthly free trial button on plans page
2014-09-02 11:07:21 +01:00
Henry Oswald
c4a379075d
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-09-02 10:49:43 +01:00
Henry Oswald
f25dba10ea
changed label to send to GA
2014-09-02 10:47:58 +01:00
watercrossing
c30bcfce53
Add ability to specify interface
2014-09-02 10:41:48 +01:00
Henry Oswald
6a4ddd937b
Merge pull request #104 from watercrossing/fixSpace
...
Add missing white space
2014-09-02 10:34:08 +01:00
watercrossing
e5218af015
fix typo in settings
2014-09-01 23:15:38 +01:00
watercrossing
81b543bbaa
Add space at end of line
2014-09-01 20:14:49 +01:00
Henry Oswald
326900c467
broke project-list file down into more digestable chunks
2014-09-01 18:05:51 +01:00
Henry Oswald
54b9cdc3e4
new ab framework up and running
2014-09-01 17:48:09 +01:00
Henry Oswald
62f207c368
added basic new a/b test funnely framework
2014-09-01 15:14:08 +01:00
Henry Oswald
f3c04feda7
added a missing templates button back into templates index page
2014-09-01 15:13:37 +01:00
Henry Oswald
66e0785e59
fixed word wrapping on plans button page
2014-08-29 15:34:46 +01:00
Henry Oswald
03137d4271
made more room for bottom left part of footer as it wraps some time in spanish
2014-08-29 15:29:51 +01:00
Henry Oswald
e740e4913d
if user is already annual tell them so on the annual upgrade page
2014-08-29 14:13:05 +01:00
Henry Oswald
cffcdbae18
fixed formatting $ and %
2014-08-29 13:49:37 +01:00
Henry Oswald
ce3db55624
improved annual plans view
2014-08-29 13:40:35 +01:00
Henry Oswald
416f41e59d
stopped using proper settings inside of a test
2014-08-29 13:06:50 +01:00
Henry Oswald
aa83b5ca5d
fixed tests whoops
2014-08-29 12:41:42 +01:00
Henry Oswald
b951ab798c
set flag incorrectly when debugging
2014-08-29 12:37:00 +01:00
Henry Oswald
e67d3889f9
got better logic and copy for upgrade annual plans, needs i18n next
2014-08-29 12:36:36 +01:00
Henry Oswald
50890af0cf
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-29 12:35:37 +01:00
James Allen
d7e2b19852
Remove your card will charged message since it doesn't apply to free trials
2014-08-29 10:23:11 +01:00
Henry Oswald
350b95a0a5
annual upgrade page works, needs a bit of copy love now
2014-08-28 18:14:31 +01:00
Henry Oswald
f5618e9d9c
added confirm you want to change plan modal
...
added page and corisponding endpoint to migrate to annual plan
2014-08-27 17:51:10 +01:00
Henry Oswald
78d94094b4
changed moment path in libs to work locally
2014-08-27 13:22:17 +01:00
Henry Oswald
d0d08824da
modal asking users to confirm a change of plan
2014-08-27 13:21:39 +01:00
Henry Oswald
b99e933266
fixed jade formating prob causing console error
2014-08-27 11:09:22 +01:00
Henry Oswald
67fdd73472
fixed template problem with next billing details
2014-08-26 20:18:56 +01:00
Henry Oswald
3b41a6eef4
change spacing on footer due to i18n problems
2014-08-26 16:59:42 +01:00
Henry Oswald
54f083820a
translate footer text
2014-08-26 12:29:27 +01:00
Henry Oswald
15e14d5bda
changed padding of perk to ork well in czech
2014-08-24 17:26:20 +01:00
Henry Oswald
97b118c2ac
added in couple of missing translations
2014-08-24 17:12:22 +01:00
Henry Oswald
27b9cad8ca
make ga experiements per page
2014-08-24 17:07:40 +01:00
Henry Oswald
705c282b0a
changed ga injection
2014-08-23 19:02:41 +01:00
Henry Oswald
3bd4e26956
added czech flag
2014-08-22 15:49:11 +01:00
James Allen
894024ba29
Don't allow folders to be moved into their child folders
2014-08-22 14:38:52 +01:00
Henry Oswald
c91e95d593
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-22 14:22:12 +01:00
Henry Oswald
6c131b1084
- removed free trial on annual accounts
...
- added setting val for google analytics experiments to be added in head
- added 14 day free trial variation to plans page
2014-08-22 14:20:39 +01:00
James Allen
0152f42416
Put template settings on client side
2014-08-22 13:10:32 +01:00
James Allen
c8ab1bd394
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-08-22 12:52:31 +01:00
James Allen
dc5e1f71bd
Remove console.log debug line
2014-08-22 12:52:27 +01:00
James Allen
456d194dbb
Merge branch 'james_tmp'
2014-08-22 12:51:35 +01:00
Henry Oswald
fd8221b869
make it possible to hide a lng
2014-08-21 17:58:25 +01:00
Henry Oswald
4a19d6731a
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-21 13:03:54 +01:00
Henry Oswald
9bcf979e8a
changed title for restricted to use translations key
2014-08-21 13:03:51 +01:00
Henry Oswald
b9372e6dcd
added key for your projects
2014-08-21 13:02:28 +01:00
James Allen
e234d7831a
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-08-21 13:01:34 +01:00
James Allen
f093c99b96
Remove deprecated background dropbox polling logic
2014-08-21 13:01:27 +01:00
Henry Oswald
e144f9c19a
changed key for profile complete
2014-08-21 12:48:55 +01:00
Henry Oswald
dd8ca9ca0e
changed key Actions -> actions
2014-08-21 12:45:19 +01:00
Henry Oswald
daec56359f
rename != delete tooltip
2014-08-21 04:41:06 +01:00
Henry Oswald
04e50f8ba6
changed cookie name from hard coded to be config option, defaults to sharelatex.sid
2014-08-20 18:01:21 +01:00
James Allen
c4b91de8e8
Layout templates in rows of four
2014-08-20 14:58:01 +01:00
James Allen
d0eee7a1e5
Refactor template settings
2014-08-20 14:47:27 +01:00
Henry Oswald
c51c0c1cf2
fixed misconfig translate string
2014-08-20 14:40:27 +01:00
Henry Oswald
3cd43ddd86
found sneaky missing translations
2014-08-20 14:31:44 +01:00
Henry Oswald
8d51fcc457
hide translations notification on editor page
2014-08-20 14:08:59 +01:00
Henry Oswald
30a25297a0
changed translations to be back on master branch, want them to auto update. need to talk about it
2014-08-20 13:48:07 +01:00
Henry Oswald
21f288fbe5
missed off few tooltips in translation
2014-08-20 13:47:45 +01:00
Henry Oswald
b7cd4e5c79
add translations popup into editor
2014-08-20 13:03:55 +01:00
Henry Oswald
8e4974d559
fix more escaping html
2014-08-20 12:45:29 +01:00
James Allen
ab6cd36f27
Small tweaks to LaTeX mode
2014-08-20 10:02:38 +01:00
James Allen
cd51ba5f25
Merge pull request #100 from dfelder/patch-3
...
Latex mode for ace has new syntax highlighting
2014-08-20 09:45:55 +01:00
Henry Oswald
c1c46a36b9
render html of bonus page para
2014-08-20 08:14:36 +01:00
Daniel Felder
1d9e3f431c
Latex mode for ace has new syntax highlighting
...
This is an update to the latest version.
2014-08-19 22:33:09 +02:00
Henry Oswald
b5341e8a25
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-19 15:35:38 +01:00
Henry Oswald
6bb4c9867e
convert smoke cookie to be unsecure so curl will send it
2014-08-19 15:35:34 +01:00
James Allen
3d25018aa1
Release version 0.1.0
2014-08-19 14:45:24 +01:00
James Allen
00829f0fbd
Lock down module versions
2014-08-19 14:44:48 +01:00
James Allen
156c6ec4b6
Add PDF viewer label in
2014-08-19 14:40:10 +01:00
Henry Oswald
ca5b1e7422
cleaned up smoke tests
2014-08-19 14:35:20 +01:00
Henry Oswald
a082dd0f3b
use cookie domain in smoke test path
2014-08-19 12:05:07 +01:00
Henry Oswald
8895ceea35
write cookies to tmp for smoke test
2014-08-19 12:01:30 +01:00
Henry Oswald
83d8c48dc6
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-19 11:20:06 +01:00
Henry Oswald
523694c4ff
changed smoke tests to work with curl
...
this was needed as there is a bug with request/tough cookie with
multi subdomain cookies ie .sharelatex.com
https://github.com/goinstant/tough-cookie/issues/16
moving it to request in the future is probably a good idea, if we do move to
request then with the current issues we would we need to set
jar._jar.rejectPublicSuffixes = false
2014-08-19 11:17:51 +01:00
Henry Oswald
0dc4b3a01b
login works with curl
2014-08-19 10:54:33 +01:00
Henrique Dias
a3f9f5a729
fix identation
2014-08-18 14:35:16 -03:00
Henrique Dias
e0e9949da5
dynamic template menu by config settings
2014-08-18 14:26:47 -03:00
Henrique Dias
acf392eb4e
init chance in config
2014-08-18 13:59:34 -03:00
James Allen
02ec2bc264
Align flags on left of menu to match flag in footer
2014-08-14 16:41:48 +01:00
James Allen
ac4b3663cb
CSS tweaks to i18n stuff
2014-08-14 16:33:01 +01:00
Henry Oswald
aa4f748608
Merge branch 'master' into i18n
2014-08-14 15:42:54 +01:00
Henry Oswald
f75838b353
don't show the lng select if there is only 1 lang to show
2014-08-14 15:42:31 +01:00
James Allen
9be7228247
Delay Dropbox polling by 5 seconds and dispatch only a single request
2014-08-14 13:48:23 +01:00
Henry Oswald
7c2beb5d2d
added correct flags
2014-08-14 13:00:04 +01:00
James Allen
7816810249
Add in poll dropbox endpoint back into admin
2014-08-14 10:12:01 +01:00
Henry Oswald
02cdfb4d09
lng dropdown at bottom in footer works nicely, needs few style tweeks
2014-08-13 23:06:15 +01:00
James Allen
604505131b
Convert integer dropbox id to string when searching mongo
2014-08-13 17:34:45 +01:00
James Allen
670e8e5cb9
Use Dropbox Real-time polling
2014-08-13 17:26:18 +01:00
Henry Oswald
7389943089
added ugly list of available subdomains
2014-08-13 16:04:49 +01:00
Henry Oswald
d033238efc
forgot to commit files
2014-08-13 16:04:23 +01:00
James Allen
2a6041752d
Remove unescaped strings on bonus page
2014-08-13 15:44:30 +01:00
Henry Oswald
9b2ce4860a
changed cookie lib from default angular to custom one so can set expires
2014-08-13 15:02:45 +01:00
Henry Oswald
041e85b92b
added local cooked option to hide notification
2014-08-13 14:14:31 +01:00
Henry Oswald
2222b32321
added message at top of page offering redirect to local lng
2014-08-13 12:31:14 +01:00
James Allen
6bfefea5cb
Show PDF button in toolbar if file tree is closed in PDF flat view
2014-08-12 13:18:22 +01:00
James Allen
93f2969be5
Change style on file rename input to avoid weird Chrome behaviour
2014-08-12 12:46:05 +01:00
James Allen
f902cfdcf6
Monkey patch ace until cursor patches come from upstream
2014-08-12 12:33:12 +01:00
James Allen
5b3bf5c956
Spaces after error titles
2014-08-12 12:30:07 +01:00
James Allen
3348249dcd
Download template PDF and zip file with good file names
2014-08-12 12:02:09 +01:00
James Allen
2aa421233c
Add meta description for templates home page
2014-08-11 16:20:27 +01:00
James Allen
b7ed3bab8f
Merge branch 'redis-queue'
2014-08-11 12:10:25 +01:00
Henry Oswald
f452f0ee19
don't escpae html on delete modal
2014-08-11 08:01:39 +01:00
Henry Oswald
cc71834e4e
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-08 14:43:14 +01:00
Henry Oswald
4c073ff285
render template name in CanonicalPage
2014-08-08 14:43:07 +01:00
James Allen
8320970a29
ngcloak template button while loading
2014-08-08 14:05:40 +01:00
James Allen
2ada8076d1
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-08-08 14:02:22 +01:00
James Allen
7e24972b46
Fix off by one error in track changes highlights
2014-08-08 14:01:30 +01:00
Henry Oswald
b41256b599
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-08 13:15:03 +01:00
Henry Oswald
b48ca2c7ed
fixed smoke test breaking on title, removed "the" as its not great for SEO (i think)
2014-08-08 13:11:49 +01:00
James Allen
b20934e579
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-08-08 11:42:02 +01:00
James Allen
10021986c5
Don't error on password reset if no email found, and translate error messages
2014-08-08 11:41:54 +01:00
Henry Oswald
b8c7163800
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-08 10:27:43 +01:00
Henry Oswald
66ba6e612d
Revert "send 401 when login fails"
...
This reverts commit fb901c6365d37654ba9058f57a71a4e60366688e.
2014-08-08 10:21:17 +01:00
James Allen
5ec1c59a31
Add in i18n defaults
2014-08-07 17:03:47 +01:00
James Allen
2730a2e73c
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-08-07 16:53:07 +01:00
James Allen
af1f0994af
Remove priority title stuff again
2014-08-07 16:53:01 +01:00
Henry Oswald
7976f2f0fe
send 401 when login fails
2014-08-07 16:28:00 +01:00
James Allen
31e3c4ac06
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-08-07 16:12:11 +01:00
Henry Oswald
da307318d9
fixed unescaped content
2014-08-07 16:11:43 +01:00
James Allen
240dae0cff
Provide template description as meta tag
...
Conflicts:
app/views/layout.jade
2014-08-07 16:11:32 +01:00
James Allen
b367c4a968
Show group subscription status on subscription dashboard page
...
Conflicts:
app/views/subscriptions/dashboard.jade
2014-08-07 15:51:43 +01:00
Henry Oswald
06c83dfcfa
fixed missing title val
2014-08-07 15:15:07 +01:00
Henry Oswald
9c6f0faff6
Merge branch 'i18n'
...
Conflicts:
app/coffee/Features/User/UserPagesController.coffee
app/views/layout.jade
app/views/project/editor/dropbox.jade
app/views/project/editor/file-tree.jade
app/views/project/editor/pdf.jade
app/views/project/list/project-list.jade
app/views/user/settings.jade
2014-08-07 14:46:17 +01:00
Henry Oswald
a337b8e848
fixed jade error in track changes
2014-08-07 14:31:03 +01:00
Henry Oswald
ecd5d5274c
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-08-07 13:56:17 +01:00
Henry Oswald
c961cea514
fixed some bits
2014-08-07 13:56:04 +01:00
James Allen
0a44aa9e71
Push into doc updater queue rather than pub/sub for updates
2014-08-07 13:19:10 +01:00
James Allen
d0e51fb637
Fix context menu in firefox on windows
2014-08-06 15:49:40 +01:00
Henry Oswald
01b7f61e6b
added check if other langs are enabled for put the header rel link in
2014-08-06 15:35:57 +01:00
Henry Oswald
673def4f90
added different lang links to head for google
2014-08-06 15:05:13 +01:00
James Allen
dc54fe3d2e
Fix Smoke test to use new title
2014-08-06 11:50:19 +01:00
James Allen
07a2955341
Add in timeout documentation link to error message
2014-08-05 17:16:34 +01:00
James Allen
0111d699a3
Move sort click action to just the header text, not select all input
2014-08-05 17:10:24 +01:00
James Allen
a7cf8d6b0a
Sort out title of wiki
2014-08-05 17:08:38 +01:00
Henry Oswald
9baea1edc1
removed lang dropdown
2014-08-05 11:35:23 +01:00
Henry Oswald
90395af6b8
nav bar text is now translated but uses key as the string if it can't be translated
2014-08-05 11:24:18 +01:00
Henry Oswald
377acfaa56
added default lang of en-US and translations package does the set lang based on subdomain
2014-08-05 11:15:17 +01:00
Henry Oswald
2be22d7ca7
cookies work accross different subdomains, added translations middlewear into stack to render based on domain
2014-08-04 16:47:14 +01:00
Henry Oswald
1e0652888a
removed console.log
2014-08-04 12:21:38 +01:00
Henry Oswald
687b3f2888
removed external libs for i18n which we no longer need
2014-08-04 12:18:45 +01:00
Henry Oswald
9b8d77cb0f
removed client side i18n as we don't really need it #wasteoftime
2014-08-01 14:49:43 +01:00
Henry Oswald
03db0bc797
added ugly dropdown for testing
2014-08-01 14:43:06 +01:00
Henry Oswald
d047d44079
Changed the error messages which are sent down to the client to be translated first
...
fixed up tests from titles we check when rendering, deleted them as they never
catch anything important, more hastle than they are worth imo.
2014-08-01 14:03:38 +01:00
Henry Oswald
1b8c8b8c48
sorted out titles
2014-08-01 13:47:14 +01:00
Henry Oswald
fdc5a5154a
added a load more pages
2014-08-01 12:34:53 +01:00
James Allen
2ea7dee682
Add card around wiki content to make it stand out
2014-08-01 08:51:01 +01:00
Henry Oswald
cb685f5ea6
done loads of more pages
2014-07-31 17:07:43 +01:00
James Allen
55ad2ce78d
Include contents page down side of wiki
2014-07-31 16:26:02 +01:00
James Allen
be725c50ba
Make right click on menus behave like native right click
2014-07-31 14:20:56 +01:00
Henry Oswald
ab10d84f6a
did some of the forms
2014-07-31 14:01:37 +01:00
Henry Oswald
43750e9cb6
converted plans page
2014-07-31 13:38:24 +01:00
James Allen
13c6fcb8d9
Handle encoded parameters in request URL to wiki
2014-07-31 13:12:24 +01:00
James Allen
bc2147993a
Show project path in Dropbox folder
2014-07-31 13:04:55 +01:00
James Allen
e6c04bbeeb
Clear message from chat box immediately on pressing enter
2014-07-31 13:04:55 +01:00
James Allen
e1c14b0cf8
Mask iframe so resizer can go over native PDF
2014-07-31 13:04:55 +01:00
James Allen
330d4f5a16
Redirect to cloned project after copy
2014-07-31 13:04:55 +01:00
James Allen
f886f19429
Keep root doc list in sync with file tree updates
2014-07-31 13:04:55 +01:00
Henry Oswald
5f8bb9ea1f
converted settings page
2014-07-31 11:54:19 +01:00
Henry Oswald
42c63dd5a2
equals checks work, uses id now as well. Taken from:
...
http://blog.brunoscopelliti.com/angularjs-directive-to-check-that-passwords-match
the old one from SO does not seem to work any more
2014-07-31 11:16:13 +01:00
Henry Oswald
270c92c2a2
converted project list page
...
added missing js files
2014-07-30 17:18:45 +01:00
Henry Oswald
49c7d52208
i18n is cleaned and working with requirejs
2014-07-30 16:13:02 +01:00
Henry Oswald
9631d4da98
much simpler version of interpolation
2014-07-30 16:06:53 +01:00
Henry Oswald
7344f745e4
example of interpolation working
2014-07-30 16:04:26 +01:00
James Allen
94bcfc0eac
Only store host, not path in wiki URL setting
2014-07-30 15:56:27 +01:00
James Allen
eb483e0ecf
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-07-30 15:45:17 +01:00
James Allen
49258fe3dd
Proxy to wiki
2014-07-30 15:44:03 +01:00
Henry Oswald
1a8c3d17b2
working example of directive for i18n new project button
2014-07-30 15:05:13 +01:00
Henry Oswald
bdf1fed462
jquery translations work
2014-07-30 14:22:36 +01:00
Henry Oswald
4160101570
moved got link status outside of the if so if they are not registered we can start the link process
2014-07-30 10:44:46 +01:00
Henry Oswald
48f019236e
added first translations
2014-07-29 15:33:31 +01:00
Henry Oswald
39173fe583
Merge branch 'i18n'
...
Conflicts:
app/coffee/infrastructure/Server.coffee
app/views/project/list.jade
package.json
2014-07-29 13:44:10 +01:00
James Allen
87aa860c87
Update about page css
2014-07-29 12:29:00 +01:00
James Allen
1f44cc4375
Fix alignment of 'view all templates'
2014-07-29 11:35:56 +01:00
James Allen
64f57562a2
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-07-29 11:25:46 +01:00
James Allen
627f9e47c6
Bring back Prof. Lion
2014-07-29 11:25:34 +01:00
Henry Oswald
f821c38a9f
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-07-29 10:55:29 +01:00
Henry Oswald
dff74cf5cb
hide dropbox in left menu if you are not the admin
2014-07-29 10:55:22 +01:00
James Allen
df85254d3c
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-07-29 10:39:07 +01:00
James Allen
25205e3dda
Update to official mathjax cdn
2014-07-29 10:37:43 +01:00
Henry Oswald
f906d63067
added some logging around dropbox update
2014-07-29 10:32:11 +01:00
Henry Oswald
a62a8db0e0
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-07-29 10:29:46 +01:00
Henry Oswald
344d32d4e8
fixed email logo link
2014-07-29 10:29:40 +01:00
James Allen
714266b16e
Fix infinite scroll
2014-07-28 17:28:52 +01:00
James Allen
fc7753d49d
Add in download PDF button
2014-07-28 17:24:43 +01:00
James Allen
6d9072f0e2
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-07-28 17:16:08 +01:00
James Allen
9f26214142
Fix double context menu in FF
2014-07-28 17:11:15 +01:00
Henry Oswald
2267a484f4
added /home so in dev can easily see home page when logged in
2014-07-28 17:04:17 +01:00
Henry Oswald
c5b72f5f8b
added font weight 300 into the open sans for home page
2014-07-28 17:03:54 +01:00
Henry Oswald
e8be248b29
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-07-28 16:52:40 +01:00
Henry Oswald
9354d61aa3
fixed delete account validation
...
not using angular equals which does not seem to work
2014-07-28 16:52:25 +01:00
James Allen
9db2fc93a4
Add spell check underline to front marker layer
2014-07-28 16:28:01 +01:00
James Allen
d1e0849c5e
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-07-28 16:24:28 +01:00
James Allen
3a3933dfe9
Don't immediately close context menu in Firefox
2014-07-28 16:23:46 +01:00
Henry Oswald
552cd5ddd4
Merge branch 'master' of https://github.com/sharelatex/web-sharelatex
2014-07-28 16:10:36 +01:00
Henry Oswald
0db45733c5
added -moz-osx-font-smoothing to the stylesheet which improves font rendering in firefox
2014-07-28 16:10:30 +01:00
James Allen
a5267184ab
Don't use dark theme yet
2014-07-28 15:57:06 +01:00
James Allen
db920f7aaf
Merge branch 'master' of github.com:sharelatex/web-sharelatex
2014-07-28 15:06:39 +01:00
James Allen
4ff9fe33b6
Use a dark editor surround if the theme is dark
2014-07-28 15:06:26 +01:00
Henry Oswald
2c7623d3a7
added the other font sizes we use into the font import, not magic fix
2014-07-28 14:57:06 +01:00
Henry Oswald
0fb1152010
added templates less file in, got lost somewhere
2014-07-28 12:54:55 +01:00
Henry Oswald
d4be1ba7aa
changed template image paths to use correct ones
2014-07-28 12:50:56 +01:00
James Allen
24f140ed8b
Merge branch 'master' into master-redesign
...
Conflicts:
public/js/ace/mode/latex.js
2014-07-28 10:40:35 +01:00
James Allen
f9b6801f32
Revert "added redesign is happening message on list page"
...
This reverts commit 9d571e83dcd08900a46bea94a5f7f8771a26e30e.
2014-07-28 10:38:50 +01:00
James Allen
06eb952994
Resize project list correctly on page load
2014-07-28 10:28:48 +01:00
James Allen
ce47f75058
Show timedout errors properly
2014-07-28 10:22:27 +01:00
James Allen
bb55d8f406
Reset undo state when switching documents
2014-07-25 21:10:50 +01:00
James Allen
d3fd161c25
Clear annotations
2014-07-25 16:54:49 +01:00
James Allen
7ad9849db0
Use cards for long form features
2014-07-25 14:33:46 +01:00
James Allen
89fa55c361
Don't use background on long form stuff
2014-07-25 14:27:17 +01:00
Henry Oswald
1603957571
Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign
2014-07-25 14:21:48 +01:00
Henry Oswald
b7c6af1341
/home goes to home page, so can look at it when logged in
2014-07-25 14:17:40 +01:00
James Allen
e8c5679954
Update styles for homepage
2014-07-25 14:14:27 +01:00
Henry Oswald
c0f5894edb
Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign
2014-07-25 13:14:22 +01:00
Henry Oswald
bf56e083cf
removed a load of console.logs
2014-07-25 13:14:19 +01:00
Henry Oswald
4d0f35e6be
remove unneed js
2014-07-25 13:12:04 +01:00
Henry Oswald
d0c050af37
added in missing home page pattern
2014-07-25 12:52:38 +01:00
Henry Oswald
40dbeb1fe7
fixed missing fingerprint
2014-07-25 12:52:17 +01:00
James Allen
b4162511f7
Simplify feature cards
2014-07-25 12:49:23 +01:00
James Allen
9aa8682082
Add group plan enquiry form
2014-07-25 12:32:26 +01:00
Henry Oswald
5a336ed7ef
Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign
2014-07-25 12:20:11 +01:00
Henry Oswald
d7814e354b
replace underscore with space in template names
2014-07-25 12:20:08 +01:00
Henry Oswald
8055acd420
added redesign is happening message on list page
2014-07-25 12:13:06 +01:00
James Allen
cb5206a49e
Convert plans page to use free trials
2014-07-25 12:10:56 +01:00
James Allen
e5df7597c5
Remove unnecessary padding
2014-07-24 17:40:08 +01:00
James Allen
74297297c2
Experiment with animated homepage
2014-07-24 17:38:18 +01:00
James Allen
4809c5ceee
Track events that were done in analytics manager
2014-07-24 16:51:04 +01:00
James Allen
6e6b20d3af
Add in renamed or deleted modal
2014-07-24 16:39:32 +01:00
James Allen
fb98509789
Report client side errors to server
2014-07-24 16:07:43 +01:00
James Allen
4abf6ed38c
Show message and auto refresh on force disconnect
2014-07-24 15:59:24 +01:00
James Allen
8146a09b42
Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign
2014-07-24 15:02:31 +01:00
James Allen
27784ed848
Add retina screenshot
2014-07-24 15:02:23 +01:00
Henry Oswald
726719ce3f
changed html autofocus to an angular directive
...
autofocus is html5y and worked on chrome but not firefox for me.
2014-07-24 14:57:56 +01:00
Henry Oswald
b15adefed7
Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign
2014-07-24 14:06:33 +01:00
Henry Oswald
787a3adad3
killed changelog
2014-07-24 14:05:20 +01:00
James Allen
0938186868
Don't show system messages in editor
2014-07-24 14:04:26 +01:00
James Allen
5c18f4fe02
Sexy project list resizing
2014-07-24 14:02:14 +01:00
Henry Oswald
2ffe093952
removed unused bonus jade files
2014-07-24 13:58:02 +01:00
Henry Oswald
7255231abc
Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign
...
updated upstream into a topic branch.
2014-07-24 13:57:49 +01:00
Henry Oswald
9ec2c32605
added text-rendering: optimizelegibility; to css
2014-07-24 13:48:10 +01:00
James Allen
06ca7c904e
Merge branch 'master-redesign' of github.com:sharelatex/web-sharelatex into master-redesign
2014-07-24 13:24:20 +01:00
James Allen
1128b45b17
Add in system messages
2014-07-24 13:24:08 +01:00
Henry Oswald
67cba0dfd2
killed info controller and setup features.less for dropbox and feature pages
...
also moved dropbox to external pages
2014-07-24 12:15:54 +01:00
Henry Oswald
a8deac697c
Merge branch 'master-redesign' of https://github.com/sharelatex/web-sharelatex into master-redesign
2014-07-24 11:29:11 +01:00
Henry Oswald
a7b678a2c0
removed dropbox template that is not needed
2014-07-24 11:29:05 +01:00
Henry Oswald
49f356b38f
removed advisor and themes page
2014-07-24 11:23:53 +01:00