Commit graph

643 commits

Author SHA1 Message Date
James Allen
5ce319f8d9 Use ng-cloak rather than a loading spinner 2014-06-17 16:43:33 +01:00
James Allen
525581bada Add in test loading spinner 2014-06-17 16:36:08 +01:00
Henry Oswald
426b699865 links in emails use site url 2014-06-17 16:28:52 +01:00
James Allen
dac4f09943 Merge branch 'master' into master-redesign
Conflicts:
	app/views/project/list.jade
2014-06-17 16:21:21 +01:00
James Allen
aa8969c652 Merge and fix external forms 2014-06-17 16:19:40 +01:00
Henry Oswald
92d1d4ca1a remove muted from institution auto complete as some browsers are inserting it to the input value 2014-06-17 14:44:24 +01:00
Henry Oswald
e1c8dc943e added defaults of empty string into user profile, also changed account -> profile in message 2014-06-17 14:36:17 +01:00
James Allen
012371333f Wrap project list code in require.js 2014-06-17 12:43:42 +01:00
Henry Oswald
2d55f080d6 get algolia to pull app id and api key from settings file 2014-06-17 12:25:49 +01:00
Henry Oswald
cc1b9472b2 don't show the user details area on project list if algolia instituions has not be setup 2014-06-17 11:59:57 +01:00
James Allen
c56648ab80 Merge branch 'master' into master-redesign
Conflicts:
	app/views/project/list.jade
	public/coffee/list.coffee
	public/stylesheets/less/list.less
	public/stylesheets/less/style.less
2014-06-17 11:54:29 +01:00
Henry Oswald
df44792a10 fix tests in user info controller 2014-06-17 11:48:14 +01:00
Henry Oswald
457fffd3f7 Merge branch 'angular-info' 2014-06-17 11:34:28 +01:00
Henry Oswald
b54e2fc2d2 Merge branch 'angular-info' of https://github.com/sharelatex/web-sharelatex into angular-info 2014-06-17 11:33:56 +01:00
James Allen
2bf25ab450 Style and spelling tweaks 2014-06-17 11:33:37 +01:00
Henry Oswald
d2df4d6523 added little hack so post is sent on institution list when there are two brackets in name which hold domain 2014-06-17 11:27:45 +01:00
Henry Oswald
3350b99ccf removed a couple of annoying console.log logs 2014-06-17 10:26:56 +01:00
Henry Oswald
af7a615fd4 added algolia lib 2014-06-17 10:18:15 +01:00
Henry Oswald
444e6cbd12 put domain into popup for user info 2014-06-16 18:41:44 +01:00
Henry Oswald
478a20be1f use uglify2 and don't mangle names for angular 2014-06-16 18:29:55 +01:00
Henry Oswald
f42b2c2385 cleaning things up 2014-06-16 16:26:34 +01:00
Henry Oswald
f18172258e focus on first element in form when showing 2014-06-16 16:22:45 +01:00
James Allen
608e9476b6 Show confirmation for deleting projects forever 2014-06-16 16:17:28 +01:00
Henry Oswald
7355a912b6 recomend roles and still show form when complete 2014-06-16 16:14:58 +01:00
James Allen
0a334939ce Confirm deletes and leaves 2014-06-16 16:13:09 +01:00
James Allen
3a969876e0 Allow cloning of projects 2014-06-16 15:32:20 +01:00
James Allen
8bb181a465 Don't allow renaming of shared proejcts 2014-06-16 15:12:10 +01:00
James Allen
81ee0f4342 show and restore archived projects 2014-06-16 15:06:58 +01:00
Henry Oswald
a1055b226c uses angular autocomplete modules 2014-06-16 14:49:35 +01:00
James Allen
802aae6148 Show partial folder selection state 2014-06-16 14:45:47 +01:00
James Allen
65a1f03768 Send project owner details to client 2014-06-16 13:34:38 +01:00
James Allen
9c5f63817e Send accessLevel info to client 2014-06-16 12:47:39 +01:00
James Allen
63525a8bef Use angular boostrap instead of vanilla bootstrap 2014-06-16 12:26:35 +01:00
James Allen
95ee8c772a Fix modal styling 2014-06-16 11:30:54 +01:00
Henry Oswald
09f5a67f9b got autocomplete presented correctly 2014-06-13 17:17:58 +01:00
James Allen
b9944ca2dc Hook up file uploads 2014-06-13 17:11:36 +01:00
James Allen
8b57224267 Allow creation of projects 2014-06-13 16:05:44 +01:00
James Allen
ab5d6f82c0 Allow deleting of projects 2014-06-13 15:24:20 +01:00
James Allen
751572c977 Only show actions buttons when projects are selected 2014-06-13 14:28:16 +01:00
James Allen
db74e89f99 Add folder labels next to the project name 2014-06-13 14:14:56 +01:00
James Allen
290089407d Allow creation of new tags 2014-06-13 13:55:55 +01:00
Henry Oswald
b9afde591b improved the angular stuff a touch 2014-06-12 17:15:54 +01:00
James Allen
4494048cd4 Post tag modifications to server 2014-06-12 16:47:46 +01:00
James Allen
5fbbf6c452 Allow filtering by folder 2014-06-12 16:21:12 +01:00
Henry Oswald
68cc7d85bf working with requirejs 2014-06-12 15:50:00 +01:00
James Allen
6305ac16f4 Work in progress of doing project list with Angular 2014-06-12 15:22:49 +01:00
Henry Oswald
f4cecb6591 moved alert to lower level so its hidden when not needed 2014-06-12 13:42:36 +01:00
Henry Oswald
6836aabac3 fiddled with the css 2014-06-12 11:22:18 +01:00
Henry Oswald
c075716b0f cleaned it up a touch, showed how to handle http errors 2014-06-12 10:23:42 +01:00
Henry Oswald
6dc1e54dc7 basic example using angular done 2014-06-11 17:45:09 +01:00
James Allen
067d343928 Display list of tags 2014-06-11 16:32:56 +01:00
Henry Oswald
e099a4a100 added default of empty string to user details, fixed route as well 2014-06-11 15:14:07 +01:00
James Allen
1eaba59df0 Use Ember to load project list 2014-06-11 14:52:23 +01:00
Henry Oswald
473da4fa4c endpoint for user details is written 2014-06-11 12:46:28 +01:00
James Allen
99705ebb4f Merge branch 'master' into master-redesign 2014-06-11 12:38:59 +01:00
James Allen
aaf87647c1 Null check for resizing diffs that may not have an ace editor 2014-06-11 11:58:19 +01:00
James Allen
54ecab854d Don't try to open deleted docs for editing 2014-06-11 11:53:46 +01:00
James Allen
3ddfa607e1 Add in null array checks 2014-06-11 11:26:45 +01:00
James Allen
45fd924c49 Remove console.log line 2014-06-11 11:17:18 +01:00
James Allen
e91d4d61e9 Make track changes file view read only 2014-06-11 10:46:45 +01:00
Henry Oswald
3aff131428 added controller endpoint for updating user personal info 2014-06-10 22:26:43 +01:00
Henry Oswald
560288348a moved delete project inside the editor to the http endpoint 2014-06-10 18:28:45 +01:00
Henry Oswald
ddfdc9e3f7 removed timeout for compile on the client side, rely on serverside http request 2014-06-10 18:14:28 +01:00
Henry Oswald
dabed896be lowercase password reset email 2014-06-10 17:54:29 +01:00
James Allen
2c73ca509b Style account settings page (doesn't actually work yet) 2014-06-09 10:56:26 +01:00
James Allen
05b8bc36ec Style password resets 2014-06-09 10:25:38 +01:00
James Allen
d3221f1cf1 Style login and register forms 2014-06-09 10:19:02 +01:00
James Allen
ead812eacc Style folder list 2014-06-09 09:11:42 +01:00
James Allen
68aff781af Sort out style of project list 2014-06-09 08:51:12 +01:00
James Allen
3cbf5fa4f4 More style tweaks to the project page 2014-06-06 19:37:04 +01:00
James Allen
ad9121f10d More style improvements 2014-06-06 19:19:53 +01:00
James Allen
4f05926113 Get project page mostly styled 2014-06-06 17:47:52 +01:00
James Allen
0a1f1b8f38 Sort out responsive navbar 2014-06-06 16:37:59 +01:00
James Allen
b6217c401e Merge branch 'master' into master-redesign
Conflicts:
	public/stylesheets/less/trackchanges.less
2014-06-06 15:10:57 +01:00
James Allen
521befddd3 Merge pull request #76 from dfelder/patch-1
Ignore commented lines when setting root doc #52
2014-06-06 14:53:03 +01:00
James Allen
4fbebfbdc6 Tidy up styles 2014-06-06 14:43:45 +01:00
James Allen
5c27ff4430 Don't show diffs of deleted docs (much simpler) 2014-06-06 14:43:45 +01:00
James Allen
02f48be825 Allow docs to be restored 2014-06-06 14:43:45 +01:00
James Allen
1e31024bd7 Show diffs of deleted docs 2014-06-06 14:43:45 +01:00
James Allen
cabaf1ae1a Show deleted documents when viewing history 2014-06-06 14:43:45 +01:00
Daniel Felder
1d12b88b09 Ignore commented lines when setting root doc #52
Same code I used in public/coffee/pdf/CompiledView.coffee. I didn't test it locally though.
2014-06-05 18:00:07 +02:00
Henry Oswald
22c467c231 Merge pull request #75 from dfelder/master
compile current file if top level document #42
2014-06-05 16:42:10 +01:00
James Allen
753a7609e3 Loosely fix responsiveness of header 2014-06-04 17:57:29 +01:00
James Allen
72939e7dd8 Import new navbar design 2014-06-04 17:46:22 +01:00
James Allen
024e21e0ae Upgrade Jade 2014-06-04 16:28:20 +01:00
James Allen
43684fda3a Move to bootstrap 3 (site barely functional) 2014-06-04 16:14:35 +01:00
James Allen
2fb8620ba0 Allow deleting of projects forever 2014-06-04 12:45:04 +01:00
James Allen
4b8f57de80 Add in archived projects link 2014-06-04 11:58:53 +01:00
James Allen
b95c9e1d0a Find file path and act on it one after the other to avoid race condition 2014-06-04 11:46:01 +01:00
James Allen
015fd6873f Allow projects to be restore after being deleted 2014-06-03 17:35:44 +01:00
James Allen
bc6d1cb5be Update latex log parser 2014-06-02 11:44:41 +01:00
Daniel Felder
66dcb376a4 added unit tests 2014-06-01 22:28:19 +02:00
Daniel Felder
4320b790bd adjusting unit tests 2014-06-01 19:26:33 +02:00
Daniel Felder
5ad0ca08f9 adjusting unit tests 2014-06-01 18:16:05 +02:00
Daniel Felder
f03b2df461 compile current file if top level document #42 2014-06-01 16:43:52 +02:00
James Allen
073b52e693 Pass correct path to synctex when not in root folder 2014-05-29 16:41:24 +01:00
James Allen
e1a547c202 Fix multline auto-complete typo 2014-05-27 13:08:01 +01:00
James Allen
80c58bb718 Remove deprecated versioning code 2014-05-27 12:56:23 +01:00
James Allen
c1afbc66d9 Don't error if user is not logged in when compiling 2014-05-27 12:33:56 +01:00
Henry Oswald
a2f564df8b changed image preview to lowercase it so .PNG will preview 2014-05-21 17:44:30 +01:00
Henry Oswald
895bb55677 lowercase file extension when seeing preview 2014-05-21 17:34:57 +01:00
James Allen
8f41c6dcb2 Don't automatically clear the cache 2014-05-21 15:20:25 +01:00
Henry Oswald
10c012d856 removed tpdsworker 2014-05-21 12:28:31 +01:00
Henry Oswald
fd53cf0124 tell tpds sender to use pub url for docstore 2014-05-21 09:15:50 +01:00
James Allen
063f6c7680 Only auto clear CLSI cache on hard error, otherwise prompt user 2014-05-21 08:04:52 +01:00
Henry Oswald
ce0fb75224 removed grunt-nodemon from package.json as its not used atm 2014-05-20 13:34:04 +01:00
Henry Oswald
57eb0e2006 Revert "Revert "changed docstore url to /raw for tpds updates""
This reverts commit 4af4ff34b0ebad0ce9056a1c1dd5e20f12f6096d.
2014-05-20 13:19:02 +01:00
Henry Oswald
ed9e25450a Revert "Revert "change send doc lines using tpds to work with stream and doc store""
This reverts commit a41299570d07b83111b6a995902a30a67867a5c7.
2014-05-20 13:18:59 +01:00
James Allen
93d418b716 Revert "change send doc lines using tpds to work with stream and doc store"
This reverts commit ba37710b087b4919c01eed3d8cfeb9d61af43a4d.
2014-05-20 11:14:06 +01:00
James Allen
22c577f9b5 Revert "changed docstore url to /raw for tpds updates"
This reverts commit f9e60db892d270811c5e38f273d8a1b62b86eeb2.
2014-05-20 11:13:57 +01:00
Henry Oswald
2398b34f28 changed docstore url to /raw for tpds updates 2014-05-20 08:32:39 +01:00
Henry Oswald
d32fe588b7 change send doc lines using tpds to work with stream and doc store 2014-05-19 20:32:48 +01:00
James Allen
a45200dfe3 Automatically clear CLSI cache when compile fails 2014-05-19 16:10:52 +01:00
James Allen
7fed2155be Differentiate between timeouts, server errors, and LaTeX failures in client 2014-05-19 16:10:52 +01:00
James Allen
6c5a2c2740 Reconfigure internal CLSI call to understand more than just success/failure 2014-05-19 16:10:52 +01:00
Henry Oswald
a53d767eca changed 412 status code to 400 2014-05-19 14:02:54 +01:00
Henry Oswald
de38cbf595 destroy session when getting project details 2014-05-19 12:01:05 +01:00
Henry Oswald
6f9969d6e1 log out after smoke tests 2014-05-19 11:53:10 +01:00
Henry Oswald
af2de3cdeb finished off change email 2014-05-19 11:50:32 +01:00
Henry Oswald
7437115967 added controler t change user email 2014-05-16 17:45:48 +01:00
Henry Oswald
c4a420bd7f writen function to set the user email safely 2014-05-16 17:29:54 +01:00
James Allen
a62bff5052 USe parallel limit on zip file streaming 2014-05-16 11:50:15 +01:00
Henry Oswald
28ae33b100 added login link to reset message 2014-05-16 11:34:28 +01:00
Henry Oswald
221c2214dd changed class from email to password on form 2014-05-16 11:30:44 +01:00
Henry Oswald
50df82697a Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-05-16 11:27:09 +01:00
James Allen
2104c69cb9 Stream files into zip in series 2014-05-16 11:26:58 +01:00
Henry Oswald
9419d3a0e5 hooked up the frount end ui to show the email can not be found,
added client side valdidation on password, removed server side min
length check. Just check that it is not 0 len
2014-05-16 11:26:29 +01:00
James Allen
e9c164dc73 Fix test that could never fail 2014-05-16 11:01:36 +01:00
James Allen
240dc2e319 Use crypto.randomBytes 2014-05-16 10:52:31 +01:00
Henry Oswald
9c3c57f2a8 renamed TokenGenerator to PasswordResetTokenHandler and added Expire to function name 2014-05-16 10:43:55 +01:00
Henry Oswald
bf1bb22afd added rate limiting to password reset endpoint 2014-05-16 10:31:33 +01:00
Henry Oswald
ca1539cac0 added timefreeze to recurly wrapper, don't think it really works but never know *double shurg* 2014-05-15 22:21:49 +01:00
Henry Oswald
133c4759f8 fix tests, whoops 2014-05-15 18:26:00 +01:00
Henry Oswald
e1b3f3542c added some logging 2014-05-15 18:14:05 +01:00
Henry Oswald
24c50189b6 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-05-15 18:01:49 +01:00
Henry Oswald
f7245f32d0 cleaned up old password reset cruft 2014-05-15 18:01:43 +01:00
Henry Oswald
96d98329f1 token based reset works 2014-05-15 17:58:25 +01:00
Henry Oswald
1ffd19099b writen getUserIdFromToken 2014-05-15 17:20:42 +01:00
Henry Oswald
9f901fb1ba added the token generator and its getNewToken function 2014-05-15 17:16:20 +01:00
Henry Oswald
64688e661d written password reset controller 2014-05-15 16:50:38 +01:00
James Allen
e72dd50089 Use configurable uploads folder location 2014-05-15 16:32:17 +01:00
Henry Oswald
551e1d465a written password reset handler 2014-05-15 16:20:23 +01:00
James Allen
93883c7a03 Fix calling of updateDoc 2014-05-15 15:43:04 +01:00
James Allen
f6e85c4140 Don't proxy version number to/from docstore 2014-05-15 12:44:08 +01:00
Andreas Källberg
db89f8c8db Fixes #63, highlighting file names when renaming up to full stop 2014-05-14 16:40:51 +02:00
James Allen
4a27342b01 Merge branch 'docstore_integration' 2014-05-12 14:23:41 +01:00
James Allen
0bddc5552e Use docstore for updating documents 2014-05-08 15:47:50 +01:00
James Allen
8315de58c7 Proxy get doc requests to the docstore 2014-05-08 13:42:30 +01:00
Henry Oswald
9a81f85b41 added gauge metrics for number of open socket.io http and https
connections
2014-05-08 11:33:46 +01:00
Henry Oswald
a8571653db added timeouts to filestore handler 2014-05-08 10:55:44 +01:00
James Allen
b29e94b4d5 Use new metrics package 2014-05-07 15:29:04 +01:00
James Allen
c73b7fae69 Use docstore when creating a new doc 2014-05-07 14:31:46 +01:00
James Allen
628fb65bc3 Work with ObjectId's passed to ProjectGetter 2014-05-06 13:34:37 +01:00
James Allen
2fb8b0e807 Get project without doc lines in getAllFolders 2014-05-06 13:15:18 +01:00
James Allen
6a2370b5be Use docstore for CLSI request building 2014-05-06 12:54:26 +01:00
James Allen
ca6be52fa0 Revert "Revert "Get doclines from docstore when cloning project""
This reverts commit ff79e4d2e659751ec88b3791566f3de24e6b67f4.
2014-05-06 12:36:00 +01:00
James Allen
8af372aff3 Revert "Revert "Get doc lines from docstore when performing batch operations""
This reverts commit a700665650b5984fdb3afe5565d62ba810100ebe.
2014-05-06 12:35:27 +01:00
James Allen
9be4feaae1 Revert "Get doc lines from docstore when performing batch operations"
This reverts commit 9fab27158cb02b0268f8e6aec090f275f062d885.
2014-05-01 17:19:21 +01:00
James Allen
fee632cfc9 Revert "Get doclines from docstore when cloning project"
This reverts commit 9ab3f5b3fba8a1324c576bbdb9614f70f4c719aa.
2014-05-01 17:19:09 +01:00
James Allen
82b56d0b4f Get doclines from docstore when cloning project 2014-04-30 16:45:53 +01:00
James Allen
465b5ca9db Get doc lines from docstore when performing batch operations 2014-04-30 15:49:07 +01:00
Henry Oswald
3b1cc6e500 removed metrics from http logging but added key in
having the key in there means its easy to analyise the logs based on the
route
2014-04-30 13:14:41 +01:00
James Allen
f3314437ab Create default settings file 2014-04-30 11:33:31 +01:00
James Allen
d82ae02d23 Fix unit tests 2014-04-30 11:23:53 +01:00
James Allen
355a5a020e Keep reference to deleted docs and delete via docstore 2014-04-30 11:15:29 +01:00
James Allen
0c0548ea85 Don't crash when route path is a regex 2014-04-30 09:42:20 +01:00
James Allen
f8dec76464 Add DocstoreManager 2014-04-29 17:22:37 +01:00
Henry Oswald
0b93a719f0 added statsd metrics timing for each request 2014-04-29 15:20:31 +01:00
Henry Oswald
2cdadf1a4b check for error when doing a password reset 2014-04-29 11:59:23 +01:00
Henry Oswald
8cc055422c removed word project from the label on project actions button 2014-04-29 11:37:02 +01:00
Henry Oswald
7896a8b85c changed order of project list button menu 2014-04-29 11:11:20 +01:00
Henry Oswald
bf2c60f84d added rename project to list page 2014-04-28 17:47:47 +01:00
Henry Oswald
3655e83ff9 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-04-28 16:27:19 +01:00
Henry Oswald
a0fb170878 updated archive module to latest version 2014-04-28 16:27:15 +01:00
James Allen
64ab1a4f59 Remove restore warning message 2014-04-28 12:54:16 +01:00
James Allen
d528ac21a3 Mark projects as archived, but don't actually delete them 2014-04-28 12:53:43 +01:00
Yimin
295b438498 fix typo 2014-04-22 04:21:42 -05:00
Henry Oswald
39b9c99735 fix unit tests I broke by adding timeout to tags 2014-04-16 17:51:40 +01:00
Henry Oswald
0a093b779e fixed #100, if tags is not running you should be able to delete a project still 2014-04-16 17:44:57 +01:00
Henry Oswald
8795a8a921 if retore url is not in mongo don't blow up 2014-04-15 14:19:20 +01:00
Henry Oswald
4b11790a54 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-04-15 13:59:04 +01:00
Henry Oswald
aca2e5639e added referal allocator to user controller 2014-04-15 13:59:00 +01:00
James Allen
c249ea91f9 Restore button doesn't work 2014-04-14 06:28:36 +01:00
James Allen
ea651ee9bd Add in restore page 2014-04-14 06:17:07 +01:00
James Allen
6aee795e67 Add project URL to message 2014-04-14 00:03:42 +01:00
James Allen
c750797ca4 Update message 2014-04-13 23:38:44 +01:00
Henry Oswald
c2cb6e2c1f updated wording again 2014-04-13 23:18:13 +01:00
Henry Oswald
255b932079 added message explainging potential data reverted 2014-04-13 22:59:41 +01:00
Henry Oswald
c23f9aa056 be able to get build templates from web as well as templates 2014-04-11 15:15:32 +01:00
Henry Oswald
dbe2dd3078 fix case problem with require of newsletter manager 2014-04-10 22:21:20 +01:00
Henry Oswald
51e69392a7 cleaned up and fixed problem with open user opening pojrect 2014-04-10 17:49:39 +01:00
Henry Oswald
9355632f30 deleted user controller. The end of /controllers 2014-04-10 17:29:46 +01:00
Henry Oswald
f7ea925e67 Merge branch 'master' of github.com:sharelatex/web-sharelatex 2014-04-10 17:26:14 +01:00
Henry Oswald
5df01acfe1 moved reset password to new controler, not tests as it will be rewritten soon. Just want to kill off /controllers 2014-04-10 17:26:09 +01:00
Henry Oswald
5760e51d6e moved password change to new user controller with tests 2014-04-10 17:15:18 +01:00
Henry Oswald
cc68fe443f Moved register function into user registration handler and new user
controller
2014-04-10 16:32:47 +01:00
James Allen
573c877a57 Remove unneeded/broken stream.resume() 2014-04-10 12:57:49 +01:00
James Allen
049dcc2780 Split lines on Windows line endings too 2014-04-10 12:45:42 +01:00
Henry Oswald
2ca7c344a3 reformtted reg handler tests 2014-04-10 12:39:13 +01:00
Henry Oswald
e4223c9b5e fixed test for logout 2014-04-09 17:07:19 +01:00