Tom Moor
c8055e40bb
fix: Content appearing behind status bar in iOS PWA on some models of phone 🤷
2021-04-23 14:57:38 -07:00
Tom Moor
16c60a0d59
fix: URLSearchParams polyfill via core-js upgrade ( #2059 )
...
* fix: URLSearchParams polyfill via core-js upgrade
* deduplicate
* testing, remove manual imports
* chore: bump rme
2021-04-22 18:21:27 -07:00
Tom Moor
317c52df62
fix: Improve error handling for Azure-specific errors not captured in OAuth2 strategy
2021-04-18 22:41:27 -07:00
Tom Moor
fa52bc5afd
chore: Slack integration screen improvements ( #2049 )
...
* feat: Add collection iconography and colors to Slack settings page
fix: Use standardized list components
fix: Slack icon size
chore: Convert to translation strings
* fix: Missing translation, convert to Scene
2021-04-18 18:34:49 -07:00
Tom Moor
7f9cba9819
feat: Record share link last accessed time ( #2047 )
...
* chore: Migrations
* chore: Add recording of share link views
* feat: Add display of share link accessed date in admin
* translations
* test
* translations, admin pagination
2021-04-18 09:38:13 -07:00
Tom Moor
e9f083feb8
fix: Document title with slashes produces folders in exported zip file
...
closes #2036
2021-04-17 19:30:31 -07:00
Tom Moor
7a8ccdb229
feat: Microsoft authentication ( #1953 )
...
closes #755
2021-04-17 13:22:18 -07:00
Tom Moor
940ad8479e
perf: Remove collaborators from documents.list response ( #2039 )
...
* fix: Remove unused, unperformant query
* lint
* collaborators -> collaboratorIds
2021-04-15 22:49:16 -07:00
Tom Moor
62f9262b2c
fix: Improved handling of authentication edge-cases ( #2023 )
...
* fix: authentication records not cleaned up for deleted user
closes #2022
* fix: Improve debugging for duplicate providerId sign-in requests
2021-04-11 19:39:31 -07:00
Saumya Pandey
bc4fe05147
feat: Read-only users ( #1955 )
...
* Introduce isViewer field
* Update policies
* Make users read-only feature
* Remove not demoting current user validation
* Update tests
* Catch the unhandled promise rejection
* Hide unnecessary ui elements for read-only user
* Update app/scenes/Settings/People.js
Co-authored-by: Tom Moor <tom.moor@gmail.com>
* Remove redundant logic for admin only policies
* Use can logic
* Update snapshot
* Remove lint error
* Update snapshot
* Minor fix
* Update app/menus/UserMenu.js
Co-authored-by: Tom Moor <tom.moor@gmail.com>
* Update server/api/users.js
Co-authored-by: Tom Moor <tom.moor@gmail.com>
* Update app/components/DocumentListItem.js
Co-authored-by: Tom Moor <tom.moor@gmail.com>
* Update app/stores/UsersStore.js
Co-authored-by: Tom Moor <tom.moor@gmail.com>
* Use useCurrentTeam hook in functional component
* Update translation
* Update ternary
* Remove punctuation
* Move the functions to User model
* Update share policy and shareMenu
* Rename makeAdmin to promote
* Create updateCounts function and Rank enum
* Update tests
* Remove enum
* Use async await, remove enum and create computed accessor
* Remove unused variable
* Fix lint issues
* Hide templates
* Create shared/types and use rank type from it
* Delete shared/utils/rank type file
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-04-11 19:39:17 -07:00
Tom Moor
cdc7f61fa1
chore: Enable HMR for frontend code ( #2024 )
...
* chore: Enable HMR for frontend code
closes #2021
* revert
2021-04-11 15:09:00 -07:00
Tom Moor
190f0b6dc5
fix: Improve handling of suspended users signing in with email ( #2012 )
...
* chore: Separate signin/auth middleware
fix: Email signin token parsed by JWT middleware
fix: Email signin marked as active when logging in as suspended
fix: Suspended email signin correctly redirected to login screen
closes #1740
* refactor middleware -> lib
* lint
2021-04-08 20:40:04 -07:00
Tom Moor
5762fb33d9
chore: Improve display of configuration errors ( #2014 )
...
* chore: Show all configuration errors at once
fix: Remove requirement for deprecated Slack key
fix: Add requirement for UTILS_SECRET
* chore: Add funding/sponsorship message
2021-04-06 19:29:59 -07:00
Tom Moor
4777176d84
fix: User afterCreate hook using deprecated column
2021-04-03 18:37:39 -07:00
Tom Moor
3ffa21b07f
fix: Unneeded object keys in API response
2021-04-03 17:18:26 -07:00
Tom Moor
2ef0caba88
fix: Server error when invalid 'sort' field is passed from an API client ( #2000 )
2021-03-31 18:54:02 -07:00
Tom Moor
2e64972574
fix: Error in shares.info endpoint when user originally creating share has been deleted
2021-03-31 18:04:40 -07:00
Tom Moor
7e1b07ef98
feat: Add read-only collections ( #1991 )
...
closes #1017
2021-03-30 21:02:08 -07:00
Tom Moor
b5dcb1b3fe
fix: JS error from #1962 refactor when Google or Slack auth credentials are missing
2021-03-29 22:03:40 -07:00
Tom Moor
e00a437f2f
feat: authenticationProviders API endpoints ( #1962 )
2021-03-26 11:31:07 -07:00
Tom Moor
46912f8ddb
fix: Single share record per document ( #1984 )
2021-03-24 18:28:38 -07:00
Tom Moor
877c01f723
feat: Show 'Edit' button when visiting share link as signed in user with permission ( #1980 )
2021-03-23 19:22:15 -07:00
Tom Moor
8d8bde4b8b
closes #1784
2021-03-22 22:23:03 -07:00
Tom Moor
059fca27b3
buildUser -> buildAdmin
2021-03-22 20:59:11 -07:00
Tom Moor
9f6ba798c8
Merge branch 'main' of github.com:outline/outline
2021-03-22 20:51:45 -07:00
Tom Moor
349e971a8a
chore: Serialize domain policies on team ( #1970 )
...
* domain policies exposed on team, consistency
* fix: Remove usage of isAdmin in frontend
* test
2021-03-22 20:50:12 -07:00
Tom Moor
9af9d3a008
chore: Bump ioredis for fixes
...
chore: Remove sequelize language from user-facing db migrations
2021-03-22 18:41:54 -07:00
Tom Moor
b3353f20d5
chore: Move error logging in passport
2021-03-21 18:36:10 -07:00
Tom Moor
ad8c08497c
fix: Moving document in private collection returns incorrect policies ( #1969 )
...
* fix: Return no policies when collection doesn't change
fix: Return correct policies when it does change
* test
2021-03-19 08:01:51 -07:00
Tom Moor
7891a8ee8b
fix: Cannot create collection if all collections deleted
2021-03-19 08:01:13 -07:00
Tom Moor
1b972070d7
feat: Enforce single team when self-hosted ( #1954 )
...
* fix: Enforce single team when self hosting
* test: positive case
* refactor
* fix: Visible error message on login screen for max teams scenario
* Update Notices.js
* lint
2021-03-18 21:56:24 -07:00
Saumya Pandey
46bcc2e2ae
feat: Allow sorting collections in sidebar ( #1870 )
...
closes #1759
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2021-03-18 17:27:33 -07:00
Nan Yu
eff56b758c
feat: use flexbox to center the floating title ( #1959 )
...
* use flexbox to center the floating title
* simplify breadcumb alignment
* small adjustments
* fix alignment on actions
2021-03-15 19:24:14 -07:00
Tom Moor
ffc270b567
fix: Incorrect calculation of subdomain when previously used more than once
2021-03-15 18:04:41 -07:00
Tom Moor
5d6f68d399
feat: Move to passport for authentication ( #1934 )
...
- Added `accountProvisioner`
- Move authentication to use passport strategies
- Make authentication more pluggable
- Change language of services -> providers
closes #1120
2021-03-11 10:02:22 -08:00
Tom Moor
dc967be4fc
chore: Syncs changes that were erroneously made in enterprise repo ( #1949 )
2021-03-10 14:56:34 -08:00
Tom Moor
1393d1950e
chore: Test performance and warnings ( #1946 )
...
* test: Do not request mailer account in test environment
* test: Dupe migrations
2021-03-10 12:04:42 -08:00
Tom Moor
0aa72036d7
fix: Templates should not be visible in collection structure
2021-03-10 09:39:42 -08:00
Tom Moor
f50b88716b
fix: Handle document Id in document structure does not exist in db
...
closes #1938
2021-03-09 22:45:40 -08:00
Tom Moor
ed2a42ac27
chore: Migrate authentication to new tables ( #1929 )
...
This work provides a foundation for a more pluggable authentication system such as the one outlined in #1317 .
closes #1317
2021-03-09 12:22:08 -08:00
Tom Moor
cd7cbab5ac
fixes #1879 – race condition in websockets service
2021-02-22 21:53:20 -08:00
Tom Moor
2195787e7d
logistics -> exporter, remove cutesy naming of lib
2021-02-22 21:51:01 -08:00
Tom Moor
2ad9f69f7f
fix: Scrollbars should match theme, closes #1917
2021-02-21 19:59:57 -08:00
Tom Moor
c79cfbd30d
fix: Documents in trash should still load their attachments
...
closes #1896
2021-02-20 13:22:02 -08:00
Tom Moor
903e83a618
feat: Batch Import ( #1747 )
...
closes #1846
closes #914
2021-02-20 12:36:05 -08:00
Tom Moor
bbf434e2f4
fix: Disable 'Invite people…' control for non-admins ( #1903 )
...
closes #1902
2021-02-18 23:35:55 -08:00
Tom Moor
fabfa6a491
Tweak language, remove original attachment once complete
2021-02-18 23:08:48 -08:00
Tom Moor
c5f9412ac0
fix: Collection creator not written (bad merge from refactor while this branch has been open)
...
refactor: Move processing to async queue now that file can be loaded from external storage
2021-02-18 22:55:29 -08:00
Tom Moor
df233c95a9
refactor: Upload file to storage, and then pass attachmentId to collections.import
...
This avoids having large file uploads going directly to the server and allows us to fetch it async into a worker process
2021-02-18 22:36:07 -08:00
Tom Moor
b152a5595e
Merge branch 'main' into feat/mass-import
2021-02-17 23:57:45 -08:00