Shane Kilkelly
|
030ffbe231
|
Add event-tracking to the make-token-based action
|
2017-10-31 14:23:05 +00:00 |
|
Shane Kilkelly
|
cc67b871e9
|
Make contents of 'make-private' dialog depend on current state
|
2017-10-30 14:21:54 +00:00 |
|
Shane Kilkelly
|
4130732c14
|
Only show the TC "Guests" switch if token-acces UI is enabled
|
2017-10-30 14:13:56 +00:00 |
|
Shane Kilkelly
|
a3e5788b97
|
Move the __enableTokenAccessUI state to top level
|
2017-10-30 13:58:22 +00:00 |
|
Shane Kilkelly
|
5fe5125a5c
|
Add ability to show/hide the new token-access ui
|
2017-10-30 13:48:25 +00:00 |
|
Shane Kilkelly
|
14633fe867
|
Update the link-sharing wiki url
|
2017-10-30 13:47:48 +00:00 |
|
Shane Kilkelly
|
23d249f092
|
Add links to learn-wiki article about link sharing
|
2017-10-30 10:43:27 +00:00 |
|
Shane Kilkelly
|
c5a90233b4
|
Add a little 'link' icon beside projects which are link-shared
|
2017-10-27 15:17:41 +01:00 |
|
Shane Kilkelly
|
239f56ca0e
|
add unique index to both token fields
|
2017-10-27 14:58:55 +01:00 |
|
Shane Kilkelly
|
a57827458d
|
Fix guest state sync
|
2017-10-27 14:41:48 +01:00 |
|
Shane Kilkelly
|
83bd78f467
|
More sensible conversion of byte-buffer to array
|
2017-10-27 10:38:55 +01:00 |
|
Shane Kilkelly
|
ec94e59388
|
Fix error-handling in setPublicAccessLevel
|
2017-10-26 16:39:24 +01:00 |
|
Shane Kilkelly
|
18443b55cb
|
Refactor token generator, and use crypto for numerics
|
2017-10-26 16:01:53 +01:00 |
|
Shane Kilkelly
|
d2a17c2745
|
Add rate-limiting to the token endpoints
|
2017-10-26 14:11:31 +01:00 |
|
Shane Kilkelly
|
8a2acd7138
|
Only turn on guest track-changes if available
|
2017-10-26 13:48:02 +01:00 |
|
Shane Kilkelly
|
623795a50e
|
Remove commented-out styles
|
2017-10-26 11:19:01 +01:00 |
|
Shane Kilkelly
|
f9d83c24ef
|
clean-up commented out code
|
2017-10-26 11:04:59 +01:00 |
|
Shane Kilkelly
|
62d170e7a0
|
Move the access-level sync out of the share controller.
This means sync will work even for clients which don't show the share
button in the menu bar.
|
2017-10-26 11:04:00 +01:00 |
|
Shane Kilkelly
|
f9899e8047
|
Add tooltips to the track-changes switches
|
2017-10-26 11:03:02 +01:00 |
|
Shane Kilkelly
|
e16c8aa8be
|
Add unit tests for userIsTokenMember
|
2017-10-25 16:09:16 +01:00 |
|
Shane Kilkelly
|
5f6e191c5f
|
Automatically disable guest-track-changes when project made private
|
2017-10-25 14:48:32 +01:00 |
|
Shane Kilkelly
|
6e8e4e6453
|
Use ng-href for binding links with angular
|
2017-10-25 11:48:37 +01:00 |
|
Shane Kilkelly
|
8561b69ee9
|
Remove tokenMembers sync to clients
|
2017-10-25 11:29:05 +01:00 |
|
Shane Kilkelly
|
74c231826d
|
WIP: track changes with token-access
|
2017-10-25 10:34:18 +01:00 |
|
Shane Kilkelly
|
b32088ee6b
|
Only add token member if they're not also a collaborator
|
2017-10-20 13:38:52 +01:00 |
|
Shane Kilkelly
|
dc39e447b2
|
Change findAllUsersProjects , produce and object rather than lists
|
2017-10-20 11:49:20 +01:00 |
|
Shane Kilkelly
|
d710d284fe
|
Merge branch 'sk-unlisted-projects' of github.com:sharelatex/web-sharelatex-internal into sk-unlisted-projects
|
2017-10-20 10:11:33 +01:00 |
|
Shane Kilkelly
|
0e44b319db
|
Change anonToken and such to anonymousAccessToken
|
2017-10-20 10:10:21 +01:00 |
|
John Lees-Miller
|
30f67008a0
|
Fix typo
|
2017-10-20 09:19:18 +01:00 |
|
Shane Kilkelly
|
eab77aba91
|
Abstract away the token-protection logic
|
2017-10-19 16:26:01 +01:00 |
|
Shane Kilkelly
|
22795981b9
|
Add tests to check when tokens are never activated
|
2017-10-19 15:22:44 +01:00 |
|
Shane Kilkelly
|
97706acbac
|
Fix indentation
|
2017-10-19 14:54:59 +01:00 |
|
Shane Kilkelly
|
5572a0e873
|
Merge branch 'sk-unlisted-projects' of github.com:sharelatex/web-sharelatex-internal into sk-unlisted-projects
|
2017-10-19 14:46:05 +01:00 |
|
Shane Kilkelly
|
d8717a06a2
|
Fix track-changes with token-access
|
2017-10-19 14:42:17 +01:00 |
|
John Lees-Miller
|
3383a057a1
|
Fix typo
(The typo came from my comment in Overleaf many years ago.)
|
2017-10-19 11:47:47 +01:00 |
|
Shane Kilkelly
|
43f1cb7d64
|
Add unit test for token-based access, particularly anon-read-write
|
2017-10-18 15:31:03 +01:00 |
|
Shane Kilkelly
|
7d2bde85ff
|
Add a setting to enable anonymous read-and-write link sharing
|
2017-10-18 13:04:37 +01:00 |
|
Shane Kilkelly
|
9c247d5f59
|
On project list, only show projects once, with max access
|
2017-10-17 11:10:31 +01:00 |
|
Shane Kilkelly
|
855fe2e143
|
If user is project owner, don't add them as a token user
|
2017-10-16 16:44:20 +01:00 |
|
Shane Kilkelly
|
5fb86441f6
|
Add acceptance tests for private-overleaf-project
... when accessed via the read-write token by the owner
|
2017-10-16 14:15:50 +01:00 |
|
Shane Kilkelly
|
ad999a72b6
|
If a token-based project not found, check private overleaf project
|
2017-10-16 13:20:15 +01:00 |
|
Shane Kilkelly
|
ee29cb45d2
|
Translations for the new link-sharin (token access) feature
|
2017-10-13 13:57:11 +01:00 |
|
Shane Kilkelly
|
490ccc6051
|
Add commentary to token-generator, and move token-alpha to top level
|
2017-10-13 11:37:38 +01:00 |
|
Shane Kilkelly
|
ac513a1355
|
Refactor to not pass req down into Auth modules
|
2017-10-13 11:20:57 +01:00 |
|
Shane Kilkelly
|
dcf601fe80
|
Only show token-based projects if accessLevel is set to token-based
|
2017-10-12 15:47:29 +01:00 |
|
Shane Kilkelly
|
9a7c8c5842
|
Revert "Remove remaining traces of UserStub"
This reverts commit ab6b4c32254a20b940c489b8b5b56237433cc0f6.
|
2017-10-12 15:08:48 +01:00 |
|
Shane Kilkelly
|
16416463c6
|
Update removeUserFromProject to account for token-access
|
2017-10-12 11:49:02 +01:00 |
|
Shane Kilkelly
|
6feedf5520
|
Use crypto module for token generation
|
2017-10-12 11:36:45 +01:00 |
|
Shane Kilkelly
|
22c5f41fb6
|
Add logging for token generation
|
2017-10-12 11:25:16 +01:00 |
|
Shane Kilkelly
|
fe708fcc04
|
Generate all missing tokens
|
2017-10-12 11:19:26 +01:00 |
|