Commit Graph

2721 Commits

Author SHA1 Message Date
Tom Moor
08fb61ce36 cache translations in client 2020-11-23 21:54:14 -08:00
Tom Moor
57c2fd58dc test 2020-11-23 21:25:48 -08:00
Tom Moor
cfefb51f0c async translations loading 2020-11-23 09:33:47 -08:00
Tom Moor
247585eed2 Merge branch 'develop' of github.com:outline/outline into i18n 2020-11-22 14:56:17 -08:00
Tom Moor
56d5f048f9 fix: Group membership count off after suspending users in groups (#1670)
* fix: Clear group memberships when suspending a user
Refactor to command

* test

* test
2020-11-22 11:21:47 -08:00
Tom Moor
273d9c4680 fix: Correctly map CMD+Shift+P to publish in title
fixes #1655
2020-11-21 22:20:59 -08:00
Tom Moor
44ca447185 fix: Scrollbar styling
closes #1665
2020-11-21 16:16:38 -08:00
Tom Moor
6b511e4251 Bump rich-markdown-editor, 2 minor fixes 2020-11-21 15:34:03 -08:00
Saumya Pandey
de6ee91d96 fix: Prevent API request for views data for deleted documents (#1663)
* Prevent API request for views data for deleted documents

Added a conditional statement to check if the document.deletedAt is falsy before making a request to views.list.

* Update app/components/Collaborators.js to use isDeleted attribute.

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2020-11-18 19:09:08 -08:00
Tom Moor
18fac781a9 Update LICENSE 2020-11-14 23:10:16 -08:00
Tom Moor
1ce01fa936 0.50.0 v0.50.0 2020-11-14 23:07:41 -08:00
Tom Moor
2730e1af9c Merge develop 2020-11-14 21:21:01 -08:00
Tom Moor
12a2e1c387 chore: Menu templates (#1644)
* chore: Menu template system

* NewTemplateMenu

* UserMenu

* MenuItemsTemplate -> DropdownMenuItems

* support nested menus

* DocumentMenu

* BreadcrumbMenu

* isInvited
2020-11-14 20:44:31 -08:00
Tom Moor
19ab32f551 chore: Add additional missing events (#1639)
* chore: Add additional missing events
signed in
profile updated
team setting updated

* Minor refactor to DRY existing code

* Add events

* lint

* flow: Add missing ip to event types
2020-11-14 20:44:18 -08:00
Tom Moor
522ba975d5 translation: Search 2020-11-14 19:34:27 -08:00
Tom Moor
2fecceb446 Mo translation strings 2020-11-14 19:16:25 -08:00
Tom Moor
66a4ea4b8a More translatable strings 2020-11-14 18:05:24 -08:00
Tom Moor
910c977c94 translate: Drafts 2020-11-14 17:11:57 -08:00
Tom Moor
8705f10af0 snaps 2020-11-14 17:05:19 -08:00
Tom Moor
43fd2ab69a flow 2020-11-14 16:59:50 -08:00
Tom Moor
ab0ef0e9b6 flow: Remove decorator usage to get proper flow typing
It's a shame, but hopefully we'll move to Typescript in the next 6 months and we can forget this whole Flow mistake ever happened
2020-11-14 16:50:01 -08:00
Tom Moor
08b237343b flow 2020-11-14 11:33:07 -08:00
Tom Moor
bef9176add test: update snapshots 2020-11-14 08:29:12 -08:00
Tom Moor
78267667f4 Merge pull request #1624 from glaand/feat/i18n
feat: i18n
2020-11-14 08:21:11 -08:00
André Glatzl
cdf14ca2bd Removed debug variable 2020-11-13 12:34:00 +01:00
André Glatzl
5190057a9c Removing debug variable from i18n init 2020-11-13 12:31:09 +01:00
André Glatzl
e14135d96c Removed unused Trans 2020-11-13 12:25:37 +01:00
André Glatzl
f9819541ba Update yarn.lock 2020-11-13 12:20:54 +01:00
André Glatzl
5f88323671 Check if selected language is available 2020-11-13 12:18:09 +01:00
André Glatzl
43007c97d6 Fixed trans component problematic 2020-11-13 12:18:09 +01:00
André Glatzl
f311418484 Fortified the test suite for i18n 2020-11-13 12:18:08 +01:00
André Glatzl
bcbe2493fe Removed extra space from TemplatesMenu 2020-11-13 12:18:08 +01:00
André Glatzl
04e235a527 Repositioned <strong> element 2020-11-13 12:18:08 +01:00
André Glatzl
00ae93a5d1 lint fix 2020-11-13 12:18:08 +01:00
André Glatzl
2caf1ae831 Added useTranslation to Breadcrumb 2020-11-13 12:18:08 +01:00
André Glatzl
457db112dd Set keySeparator to false in order to cowork with html keys 2020-11-13 12:18:08 +01:00
André Glatzl
c21acf1b09 Described language dropdown as an experimental feature 2020-11-13 12:18:08 +01:00
André Glatzl
1578d7e0f1 Fixes from PR request 2020-11-13 12:18:08 +01:00
André Glatzl
3d1f54f62f new translation labels & Portuguese from Portugal translation 2020-11-13 12:18:08 +01:00
André Glatzl
8d883f89eb Finished 1st MVP of i18n for outline 2020-11-13 12:18:08 +01:00
André Glatzl
7899cf0c66 Changed package.json for build:i18n and translation label 2020-11-13 12:18:08 +01:00
André Glatzl
53fef5db31 Changes according to @tommoor comments on PR 2020-11-13 12:18:08 +01:00
André Glatzl
adb7ab482f Changing language single source of truth from TEAM to USER 2020-11-13 12:18:08 +01:00
André Glatzl
aa7dedb114 feat: i18n 2020-11-13 12:18:08 +01:00
Tom Moor
7bdcba46b8 fix: Virtualize move document listbox (#1650)
* fix: Virtualize move document listbox
closes #1645
2020-11-12 22:02:56 -08:00
Tom Moor
32d3053002 fix: Heading anchor position changed _again_ 2020-11-12 22:02:19 -08:00
Tom Moor
85dd54db3d fix: Consistent spacing when first item in document is a header 2020-11-12 21:51:20 -08:00
Tom Moor
5d0dd9b734 chore: Bump RME (various editor fixes) 2020-11-12 21:47:44 -08:00
Tom Moor
735d5cbf26 fix: Ignore safely ignored loop error
closes #1646
2020-11-11 17:05:05 -08:00
Tom Moor
a94012a03a chore: Drop and create test database automatically between runs
docs: Update README to specify using make to run tests
2020-11-11 16:58:45 -08:00