Commit Graph

1706 Commits

Author SHA1 Message Date
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
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
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