Commit graph

466 commits

Author SHA1 Message Date
yflory
7e69d051c4 Lint errors 2017-06-30 11:46:20 +02:00
yflory
26193aeaa7 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-06-30 11:42:59 +02:00
yflory
b9320e6005 Toolbar improvements 2017-06-30 11:42:54 +02:00
ansuz
75c2a1fd73 jshint compliance 2017-06-30 11:20:56 +02:00
ansuz
b8934c0b97 smarter redraws of drive/settings usage bar 2017-06-30 11:20:40 +02:00
yflory
ed0121d172 Lint errors 2017-06-29 18:05:34 +02:00
yflory
7a87775372 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-06-29 15:21:09 +02:00
yflory
56a25e1036 Small fixes for the new toolbar 2017-06-29 15:15:40 +02:00
ansuz
39149a052b add new feedback keys 2017-06-29 14:16:20 +02:00
ansuz
9b8866ed72 handle RPC_NOT_READY error for logged out users 2017-06-29 11:13:48 +02:00
yflory
877c5a8d0e Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-06-28 17:15:42 +02:00
yflory
19ff8a345d Avatar upload in the profile app 2017-06-28 16:59:35 +02:00
ansuz
7a7307d560 fix logging when resetting 2017-06-28 12:08:16 +02:00
yflory
6c94605b9b File upload in the profile 2017-06-28 10:59:29 +02:00
yflory
00a554ca0d Fix the donate button style with the new toolbar 2017-06-27 14:36:49 +02:00
ansuz
67a096a8a4 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-06-27 09:57:32 +02:00
ansuz
fce0a37f50 cache pin data once retrieved from the server 2017-06-26 17:32:31 +02:00
yflory
33ea8cb183 Make sure we don't call both the yes and no handlers in prompts 2017-06-26 16:23:55 +02:00
yflory
0d4d104e08 Mobile support for the new toolbar 2017-06-23 17:56:14 +02:00
ansuz
b4b851959f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-06-22 17:42:32 +02:00
ansuz
61a891267f more feedback 2017-06-22 17:42:24 +02:00
yflory
684269fdda Userlist in polls 2017-06-22 16:14:54 +02:00
yflory
a11befaa0f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-06-22 15:52:31 +02:00
yflory
13288ee18b Update the userlist in code, slide and pad 2017-06-22 15:52:25 +02:00
ansuz
852c028822 don't allow editing if pad type is wrong 2017-06-22 14:31:55 +02:00
yflory
92b6e60573 Small improvements for the new toolbar 2017-06-22 11:13:53 +02:00
yflory
8d956c3de6 New toolbar 2017-06-21 18:04:35 +02:00
yflory
728272d936 Fix undefined function 2017-06-20 10:29:03 +02:00
ansuz
c0e2c1060e don't reload when slide hash changes 2017-06-15 17:54:35 +02:00
ansuz
17146d7af9 send feedback for uploads 2017-06-15 15:34:13 +02:00
yflory
66b076111e Add an upload button to the slide's file picker 2017-06-15 12:32:44 +02:00
yflory
a237eec41e Add a file picker in the slide app 2017-06-15 11:04:58 +02:00
ansuz
d25a0893cf Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-06-14 17:24:49 +02:00
ansuz
3184e5d235 don't reload page on hash mode change 2017-06-14 17:24:44 +02:00
yflory
1077b3b267 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-06-14 15:55:10 +02:00
ansuz
295f9c00a6 send feedback on buttons 2017-06-14 15:36:46 +02:00
yflory
497ddeee6d Upload files with drag&drop in the drive 2017-06-14 12:47:37 +02:00
yflory
f9c26645cf Upload images using the slide app 2017-06-13 16:15:04 +02:00
yflory
803bad1421 Move the file upload code in a separate file 2017-06-13 11:21:26 +02:00
yflory
7dd9ed543a Merge branch 'newDrive' into staging 2017-06-12 16:08:09 +02:00
yflory
30bdb9881c Fix undefined element in select dropdown menus 2017-06-12 14:23:06 +02:00
yflory
a5cb5f2ceb Merge branch 'staging' into newDrive 2017-06-12 10:51:38 +02:00
yflory
b36484931d Lint 2017-06-09 15:55:46 +02:00
ansuz
23318357a6 make fewer RPC calls for usageBar 2017-06-09 15:33:03 +02:00
ansuz
df586a223c update limits, usage, plan, and note whenever they are checked 2017-06-09 15:31:43 +02:00
yflory
78e6118153 Merge branch 'staging' into newDrive 2017-06-09 14:38:21 +02:00
ansuz
c4e5741ae0 update upgrade button logic 2017-06-09 12:12:39 +02:00
ansuz
f1a9002417 use upgradeURL with usage bar 2017-06-09 10:46:11 +02:00
yflory
b0fe04381d Merge branch 'staging' into newDrive 2017-06-08 18:14:31 +02:00
yflory
1c2ea04f11 Drive refactoring 2017-06-08 17:52:00 +02:00
yflory
ac91d2f413 Fix the upgrade and donate buttons in the home page 2017-06-06 11:37:54 +02:00
yflory
ee57458158 Remove the pin limit alert 2017-06-06 10:49:32 +02:00
ansuz
7b94106bac fix inverted conditional :/ 2017-05-31 18:15:31 +02:00
ansuz
2e03485db4 remove known bad entries from localStorage.userHash... 2017-05-31 18:12:58 +02:00
ansuz
936bf8df9d return falsey if userHash is junk 2017-05-31 18:08:41 +02:00
ansuz
105e5cdac9 fix 'undefined/' userHash 2017-05-31 18:01:12 +02:00
ansuz
ebfa228bc0 add upgrade button to all static pages 2017-05-30 18:39:41 +02:00
ansuz
9ca5bc507e add support for donate button 2017-05-30 15:42:53 +02:00
Caleb James DeLisle
66520b6041 cleaned up the accounts, limits and revenue sharing and unified the config in one place 2017-05-26 18:09:31 +02:00
ansuz
fd83ae3e61 implement createRandomInteger 2017-05-24 11:34:40 +02:00
ansuz
dc80b6b11f throttle markdown preview 2017-05-24 11:27:16 +02:00
ansuz
e6c04ccb49 bump server after paying for an account 2017-05-23 16:11:07 +02:00
ansuz
6324d9bbb0 feedback on template feature usage 2017-05-23 14:54:40 +02:00
yflory
c3437382fb Fix the release version in the what's new popup 2017-05-23 11:22:32 +02:00
yflory
d55b7e411c Display an alert in the drive when the limit is reached 2017-05-22 17:56:27 +02:00
ansuz
ba5ef5157e show pretty representations of storage usage 2017-05-19 18:37:31 +02:00
yflory
d014fccfce Fix lint error 2017-05-18 18:52:14 +02:00
yflory
2082b328b4 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-18 18:51:21 +02:00
yflory
814c81fb13 Display an alert when CryptPad has a new version 2017-05-18 18:51:08 +02:00
ansuz
164342920e fix inverted condition 2017-05-18 15:39:24 +02:00
ansuz
7befaccd88 move more rpc calls into pinpad 2017-05-18 12:36:12 +02:00
yflory
fe0f21594a Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-16 14:41:51 +02:00
yflory
953e7155f0 Send only the hostname to the accounts server 2017-05-16 14:41:40 +02:00
ansuz
afef456b18 fix undefined reference 2017-05-16 14:15:42 +02:00
yflory
87fa28180a Display an upgrade button in the settings page 2017-05-16 10:34:50 +02:00
yflory
c1b43db363 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-15 18:21:25 +02:00
ansuz
1542aa96bc Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-15 18:17:56 +02:00
yflory
dc2cdb7c08 Add the usage bar in the settings page 2017-05-15 18:16:22 +02:00
ansuz
2dd04f7631 get limits from the server 2017-05-15 18:03:12 +02:00
yflory
771348720b Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-15 13:54:25 +02:00
yflory
57979f6314 Display the public key using a href in the settings page 2017-05-15 13:53:43 +02:00
ansuz
06f3d0eefe shim isArray if not exists. correctly report how often this occurs 2017-05-15 10:26:52 +02:00
yflory
601226115b New anonymous drive 2017-05-12 18:06:29 +02:00
yflory
ed95bbb08f Fix lint errors 2017-05-12 16:43:01 +02:00
yflory
89a993be3c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-12 16:33:56 +02:00
yflory
0f13198119 Move the parseHash code into parsePadUrl 2017-05-12 16:33:45 +02:00
yflory
57ee7de7d4 Update and return the storage limit 2017-05-11 16:12:44 +02:00
yflory
5c8586f8a3 Fix typo in file upload 2017-05-10 15:00:05 +02:00
ansuz
a338b23f40 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-09 18:36:27 +02:00
ansuz
df47b913e3 fetch array buffers in cryptpad-common 2017-05-09 18:36:18 +02:00
yflory
c79a6e3b2b Move Metadata, CodeMirror and title functions in separate files 2017-05-09 17:47:47 +02:00
yflory
63710e1ccc Move the code related to the title in another file 2017-05-09 14:32:41 +02:00
yflory
bbc08bbcfd Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-05-05 17:57:05 +02:00
yflory
6847906ac9 Move the userlist code in a separate file 2017-05-05 15:47:46 +02:00
ansuz
a173e4c7a0 add 'log out everywhere' functionality in settings 2017-05-05 15:09:07 +02:00
yflory
5a5b02b82b Don't store in the drive pads without a hash 2017-05-05 11:55:19 +02:00
ansuz
78b11584f8 remove unused variables 2017-05-04 16:16:09 +02:00
ansuz
410a9dfb17 temporary solution for testing pin limits 2017-05-04 11:20:52 +02:00
yflory
ef89451a83 Display the storage limit in the drive 2017-05-02 17:14:53 +02:00
yflory
afb0061d7b Fix an issue with anonymous user unable to store new pads 2017-04-28 17:11:07 +02:00
yflory
a51a35da70 Fix an issue with hashes ending with a slash 2017-04-28 15:47:31 +02:00
yflory
0ef1c14d7f Fix lint errors 2017-04-28 12:12:17 +02:00
yflory
fc760b4820 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-04-28 12:08:21 +02:00
yflory
a165332c15 Don't store a pad in the drive if the limit has been reached 2017-04-28 12:08:05 +02:00
ansuz
e51c7f9cf0 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-04-28 11:46:24 +02:00
yflory
bf7c7c45d0 Add the storage limit warning in the toolbar 2017-04-27 18:46:46 +02:00
ansuz
aedc46bdaf Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-04-27 12:47:27 +02:00
ansuz
a97e7223f1 implement getBlobPathFromHex 2017-04-27 12:47:21 +02:00
yflory
520dabe094 Remove the unsorted files category 2017-04-26 18:46:40 +02:00
ansuz
12898b3358 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-04-25 18:28:48 +02:00
ansuz
74bcec8b31 programming is hard okay 2017-04-25 18:28:39 +02:00
yflory
2a417ddae8 Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-04-25 17:22:07 +02:00
yflory
d985b144cc Add a new hash version for the file viewer 2017-04-25 17:19:13 +02:00
ansuz
3309087277 send feedback if isArray is not supported 2017-04-25 17:09:39 +02:00
ansuz
4fdc5f897e only feedback migration if user had legacy store 2017-04-24 14:26:55 +02:00
ansuz
218f2ff76c feedback when logging in or registering 2017-04-24 14:15:17 +02:00
ansuz
f7e96b4e8c resolve merge conflicts and jquery errors 2017-04-24 13:43:18 +02:00
yflory
5fc2e4cf71 Remove the toolbar in ckeditor history mode + history configurable 2017-04-24 11:41:00 +02:00
yflory
92ea03d7d9 View and restore the history of a pad 2017-04-21 17:31:47 +02:00
ansuz
4c0d7bf8e8 support multiple calls to cryptpad.ready 2017-04-21 16:51:32 +02:00
ansuz
ec041c88e2 console.log when providing feedback
also notify server if a users browser does not support proxies
2017-04-21 15:53:13 +02:00
ansuz
3afaf029cb feedback about how often we migrate an old drive 2017-04-20 17:06:09 +02:00
ansuz
347459781c show the size of your files, if you're logged in 2017-04-18 15:49:04 +02:00
ansuz
2b8579e8b7 add pretty-printers for byte-counts 2017-04-18 15:44:15 +02:00
ansuz
2a25afae5f Merge branch 'soon' into staging 2017-04-18 12:24:45 +02:00
Caleb James DeLisle
c341fa8e94 Pull jquery using require.js rather than as a script tag and fix require to pass jquery as a parameter 2017-04-18 12:14:32 +02:00
ansuz
da69c1822c ask users to sign back if signing keys are missing 2017-04-18 11:58:41 +02:00
ansuz
821c1a3ec6 annotate code which we hope to be able to deprecate in the future 2017-04-14 18:44:08 +02:00
yflory
43c045721c Get the channel history 2017-04-14 18:36:36 +02:00
ansuz
c7eae9675b keep exporting isArray for backwards compatibility
but prevent internal use
2017-04-14 15:34:05 +02:00
ansuz
fbebbf0dca minor clean up 2017-04-14 15:32:12 +02:00
ansuz
525d35c9ec redefine alert 2017-04-14 14:54:43 +02:00
ansuz
f694a81a5c move more interface code out of cryptpad-common 2017-04-14 12:25:32 +02:00
ansuz
a4157b9908 remove more unused functions 2017-04-14 12:14:10 +02:00
ansuz
e10901edb2 begin to move interface code out of cryptpad-common 2017-04-14 12:09:00 +02:00
ansuz
95789d3cbe expose rpc for pinned usage 2017-04-14 11:41:51 +02:00
ansuz
8f4dbcf4c6 remove getPadTitle 2017-04-14 11:41:18 +02:00
ansuz
f42da4ecd8 move hashChannelList into common-hash.js 2017-04-14 11:40:28 +02:00
ansuz
63960bd38c Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2017-04-13 19:47:04 +02:00
ansuz
520ae822fc correct undefined reference 2017-04-13 19:46:52 +02:00
yflory
633d60ccd0 Remove a TODO 2017-04-13 17:19:32 +02:00
yflory
81d83897ec Rename hash.js 2017-04-13 17:04:15 +02:00
ansuz
607d9652f5 jshint compliance 2017-04-13 14:48:15 +02:00
yflory
3ba90332bb Merge branch 'refactor' into staging 2017-04-13 14:44:55 +02:00
yflory
daabb0b3ad Integrate and fix the new fileObject (userObject) 2017-04-13 14:06:40 +02:00
ansuz
df4a250359 use feedback api instead of app= 2017-04-13 12:18:08 +02:00
ansuz
e618483395 extract all code for encoding and decoding hashes 2017-04-13 11:05:28 +02:00
ansuz
fdd2716ad5 move constants to the top of cryptpad-common.js 2017-04-13 10:31:08 +02:00
yflory
c1e0316d43 Refactor fileObject 2017-04-12 18:54:22 +02:00
ansuz
5212539a16 move standalone functions from common into their own file 2017-04-12 17:54:44 +02:00