This repository has been archived on 2022-08-14. You can view files and clone it, but cannot push or open issues or pull requests.
outline/server/migrations
Tom Moor 1285efc49a
feat: I18n (#1653)
* feat: i18n

* Changing language single source of truth from TEAM to USER

* Changes according to @tommoor comments on PR

* Changed package.json for build:i18n and translation label

* Finished 1st MVP of i18n for outline

* new translation labels & Portuguese from Portugal translation

* Fixes from PR request

* Described language dropdown as an experimental feature

* Set keySeparator to false in order to cowork with html keys

* Added useTranslation to Breadcrumb

* Repositioned <strong> element

* Removed extra space from TemplatesMenu

* Fortified the test suite for i18n

* Fixed trans component problematic

* Check if selected language is available

* Update yarn.lock

* Removed unused Trans

* Removing debug variable from i18n init

* Removed debug variable

* test: update snapshots

* 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

* translate: Drafts

* More translatable strings

* Mo translation strings

* translation: Search

* async translations loading

* cache translations in client

* Revert "cache translations in client"

This reverts commit 08fb61ce36384ff90a704faffe4761eccfb76da1.

* Revert localStorage cache for cache headers

* Update Crowdin configuration file

* Moved translation files to locales folder and fixed english text

* Added CONTRIBUTING File for CrowdIn

* chore: Move translations again to please CrowdIn

* fix: loading paths
chore: Add strings for editor

* fix: Improve validation on documents.import endpoint

* test: mock bull

* fix: Unknown mimetype should fallback to Markdown parsing if markdown extension (#1678)

* closes #1675

* Update CONTRIBUTING

* chore: Add link to translation portal from app UI

* refactor: Centralize language config

* fix: Ensure creation of i18n directory in build

* feat: Add language prompt

* chore: Improve contributing guidelines, add link from README

* chore: Normalize tab header casing

* chore: More string externalization

* fix: Language prompt in dark mode

Co-authored-by: André Glatzl <andreglatzl@gmail.com>
2020-11-29 20:04:58 -08:00
..
20160619080644-initial.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160622043741-add-parent-document.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160626063409-add-indexes.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160626175224-add-revisions.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160711071958-search-index.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160726061511-atlas-creator.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160812145029-document-atlas-soft-delete.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160814083127-paranoia-indeces.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160814095336-add-document-createdById.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160814111419-add-document-collaboratorIds.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160815142720-app-collection-urlId.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160816082738-add-revision-index.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160824061730-add-apikeys.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160824062457-add-apikey-indeces.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160911230444-user-optional-slack-id.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160911232911-user-unique-fields.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20160911234928-user-password.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20170603185012-add-collection-documentStructure-migration.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20170604052346-add-views.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20170604052347-add-stars.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20170712055148-non-unique-email.js chore: upgrade sequelize (#965) 2019-06-23 15:49:45 -07:00
20170712072234-uniq-slack-id.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20170729215619-emoji.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20170827182423-improve-references.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20170904202454-allow-null-username.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20171010042938-add-event.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20171016012353-remove-collection-navigationtree.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20171017055026-remove-document-html.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20171019071915-user-avatar-url.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20171023064220-collection-color.js Tidy / fix migrations - MUST return a promise 2017-11-19 16:49:51 -08:00
20171218043717-add-authentications.js Unfurling of Slack links (#487) 2017-12-18 19:59:29 -08:00
20171225143838-set-admins.js Added migration for adding initial admins 2017-12-26 15:06:53 +02:00
20180115021837-add-drafts.js Draft Documents (#518) 2018-02-27 22:41:12 -08:00
20180212033504-add-integrations.js Post to Slack (#603) 2018-04-03 20:36:25 -07:00
20180225203847-document-pinning.js Pinned documents (#608) 2018-02-28 23:28:36 -08:00
20180303193036-suspended-users.js UI to prevent suspended users viewing the application 2018-03-04 22:18:23 -08:00
20180324214403-serializer-upgrade.js Added migration for existing docs 2018-03-24 15:03:44 -07:00
20180513041057-add-share-links.js First pass at API 2018-05-12 23:14:06 -07:00
20180528233909-google-auth.js DB migrations 2018-05-28 20:31:53 -07:00
20180528233910-rename-serviceid.js service -> serviceId 2018-06-01 15:13:05 -04:00
20180604182823-user-tracking.js Track recently active and signin times (#663) 2018-06-04 19:07:56 -07:00
20180604191743-revoke-share-links.js Revoked share links (#664) 2018-06-16 12:36:25 -07:00
20180707220121-more-soft-delete.js Account deletion endpoint 2018-07-07 17:38:22 -05:00
20180707231201-remove-passwords.js Remove password field 2018-07-07 18:19:13 -05:00
20180708231200-serviceid-null.js Allow more than one user to be deleted 😂 2018-07-10 20:44:59 -07:00
20180808061353-cleanup.js Migrate atlasId -> collectionId 2018-08-07 23:23:26 -07:00
20180819054252-disable-sharing.js Share Permissions (#761) 2018-08-19 16:06:39 -07:00
20181031015046-add-subdomain-to-team.js First pass, can create and update 2018-11-08 21:02:36 -08:00
20181124000438-add-notifications.js Base model refactor (#810) 2018-12-04 22:24:30 -08:00
20181215192422-document-embeds.js Editor embeds (#680) 2018-12-15 14:06:29 -08:00
20181227001547-collection-permissions.js Collection Permissions (#829) 2019-01-05 13:37:33 -08:00
20190404035736-add-archive.js Document Archive (#921) 2019-04-06 16:20:27 -07:00
20190423051708-add-search-indexes.js Improved search filtering (#940) 2019-04-23 07:31:20 -07:00
20190606035733-events.js feat: Events / audit log (#1008) 2019-08-05 20:38:31 -07:00
20190704070630-welcome-docs.js feat: Improved onboarding documents (#970) 2019-07-04 10:33:00 -07:00
20190706213213-backlinks.js feat: Backlinks (#979) 2019-07-07 19:25:45 -07:00
20190811231511-maintainers.js feat: Memberships (#1032) 2019-10-05 18:42:03 -07:00
20191118023010-cascade-delete.js fix: Account for migrations ran on old versions of Sequelize (#1130) 2019-12-30 22:35:29 -08:00
20191119023010-cascade-backlinks.js fix: Account for migrations ran on old versions of Sequelize (#1130) 2019-12-30 22:35:29 -08:00
20191119023011-cascade-parent-documents.js fix: Account for migrations ran on old versions of Sequelize (#1130) 2019-12-30 22:35:29 -08:00
20191119023012-cascade-shares.js fix: Account for migrations ran on old versions of Sequelize (#1130) 2019-12-30 22:35:29 -08:00
20191119023013-cascade-backlinks2.js fix: Account for migrations ran on old versions of Sequelize (#1130) 2019-12-30 22:35:29 -08:00
20191121035144-guest-invite.js feat: Guest email authentication (#1088) 2019-12-15 18:46:08 -08:00
20191211044318-create-groups.js feat: Add groups and group permissions (#1204) 2020-03-14 20:48:32 -07:00
20191211044319-create-group-users.js feat: Add groups and group permissions (#1204) 2020-03-14 20:48:32 -07:00
20191228031525-edit-presence.js feat: Document presence indicator (#1114) 2020-01-02 21:17:59 -08:00
20200104233831-attachments.js feat: Store image uploads as attachments in database (#1144) 2020-01-16 09:42:42 -08:00
20200122083721-create-collection-groups.js feat: Add groups and group permissions (#1204) 2020-03-14 20:48:32 -07:00
20200316040755-document-editor-version.js feat: Ensure that editorVersion is saved with document/revisions (#1212) 2020-03-16 08:30:23 -07:00
20200328175012-cascade-delete.js fix: Cleanup S3 Attachments (#1217) 2020-03-28 15:56:01 -07:00
20200330053639-document-version.js feat: Separate title from body (#1216) 2020-04-05 15:07:34 -07:00
20200519032353-text-backup.js fix revisions backup data type (#1274) 2020-05-20 10:50:52 -07:00
20200522054958-collection-icon.js feat: Collection Icons (#1281) 2020-06-19 17:18:03 -07:00
20200723055414-add-published-to-shares.js feat: Sharing improvements (#1388) 2020-07-28 19:14:32 -07:00
20200727051157-add-templates.js feat: Templates (#1399) 2020-08-08 15:18:37 -07:00
20200812170227-remove-collection-type.js chore: Remove all usage of collection.type (#1445) 2020-08-12 10:49:02 -07:00
20200915010511-create-search-queries.js fix: Dont dupe record search queries when paging results 2020-09-21 23:31:10 -07:00
20200926204620-add-missing-indexes.js chore(migrations): Add missing indexes 2020-09-26 14:01:04 -07:00
20201028043021-reverse-document-id-index.js chore: Refactor backlinks and revisions (#1611) 2020-11-01 10:26:39 -08:00
20201103050534-custom-domains.js chore: Refactor authentication pass between subdomains (#1619) 2020-11-04 19:54:04 -08:00
20201106122752-i18n.js feat: I18n (#1653) 2020-11-29 20:04:58 -08:00