Commit Graph

1353 Commits

Author SHA1 Message Date
Daniel Biegler
78db52949c Add support for custom URLs for email verification (#22565)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-28 15:30:41 +00:00
Brainslug
9335664aa8 Session token "safety window" when refreshing (#22503)
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-21 11:50:00 +00:00
Oleksii Bondarenko
d0593f27c5 Fix error message in Hook Twilio guide (#22463)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-13 10:46:54 +02:00
Sharkfin
7e7dc85fae add templates directory as volume in docker compose file (#22475)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-12 21:14:51 +00:00
Pawan Sharma
a049d75e2b Update glossary docs: Fix item description (#22471)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-12 14:21:58 +02:00
Oleksii Bondarenko
b76a6e8fbd Add missing mailService in Stripe Hook extension guide (#22450)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-09 23:53:24 +00:00
Brainslug
ffdbb04ccb Added session token note to sso docs. (#22431)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
2024-05-08 12:41:19 +00:00
Daniel Biegler
438b423171 Add maildev container for debugging emails (#22425)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-08 08:31:56 +00:00
Daniel Biegler
c893b9fa65 Add public registration (#22125)
* WIP: add new register dummy-route

* fix notice on register route

* WIP register form

* WIP: registering ui and controller for testing

* fix lint ordering problem

* wip: users service

* add migration, initial style for fields in settings

* redo how emails will be filtered

* WIP add filter in the register handler

* conditionally render register link depending on settings

* WIP: add email validation

* wip add email sending

* make clicking the email link work

* rm console log

* update controller

* dont send emails for existing emails

* add translation

* only show register link when unauthenticated

* add different redirects

* only allow selecting non-admin roles

* redirect to users page

* update translation

* move logic from controller to usersservice

* rm remnant of logic from controller

* add stall time to registration

* update translation

* rm comments

* rm unused var

* add changeset

* update translation for success

* remove sso related stuff from registration

* also allow setting first and last name

* update error check

* add @directus/errors to app

* replace error strings with enum

* rename to public_registration

* rename to public_registration_verify_email

* add notes to fields

* add types package to changeset

* dont stall if no work is being done

* allow null-role and resending of reg. email

* add public registration env vars, rm RATE_LIMITER_GLOBAL_STORE

RATE_LIMITER_GLOBAL_STORE wasnt being used. Lets just stick to RATE_LIMITER_STORE for all rate limiters. TODO: also remove from docs!

* use ratelimiter for registration, use stall time env var

* add registration limiter docs, rm global store variable from docs

* update changeset

* add ignore-notice

Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>

* use and document new `EMAIL_VERIFICATION_TOKEN_TTL`, also doc `REGISTER_STALL_TIME`

* change variable name

Co-authored-by: ian <licitdev@gmail.com>

* apply variable rename to usage

* change backticks to single quote

Co-authored-by: ian <licitdev@gmail.com>

* inline variables

* add fields to server info, update types

- The other ratelimiters also expose points and duration, done
- Add `public_registration_verify_email` so that we can render different success messages

* tiny wording tweak of registration mail

* add new user status 'unverified' and check for it

* add unverified status translation

* decouple email verification and validation

* enable register rate limiter by default and up its config

* add autocomplete=new-password on the registration form

* added sdk functions

* add gql query for new fields

* added register api reference

* updated verify sdk function name

* added reference block for email verify endpoint

* updated reference examples

* WIP: add gql resolvers

* add ratelimiter to mutation

* remove ratelimiter registration point+duration info

* rm points and duration from gql

* Update docs/reference/system/users.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
Co-authored-by: ian <licitdev@gmail.com>
Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: Brainslug <br41nslug@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-07 23:20:24 +02:00
dependabot[bot]
9ae3f175ab Bump vue from 3.4.26 to 3.4.27 (#22406)
Bumps [vue](https://github.com/vuejs/core) from 3.4.26 to 3.4.27.
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.4.26...v3.4.27)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 07:27:38 +02:00
Rijk van Zanten
ec2604f913 Don't require KEY or SECRET to be set on startup (#22320)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-06 13:00:10 +00:00
ian
df254cc093 Add falsy fallback condition to search query (#22342)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
2024-04-30 11:02:57 +02:00
Pascal Jufer
160b982928 Patch Tuesday 🐸 (#22063)
Co-authored-by: Hannes Küttner <4376726+hanneskuettner@users.noreply.github.com>
2024-04-30 10:49:20 +02:00
Hannes Küttner
31d73c6fa7 [Docs] Prevent icon translation in components and markdown sources (#22313)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-25 12:54:47 +00:00
Alex van der Valk
57a39d54f1 docs - add cache auto purge to compose (#22305)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-24 09:45:23 +00:00
Brainslug
f4c4457c17 updated credentials (#22257) 2024-04-19 14:06:40 +02:00
Alex van der Valk
5398180c03 add warning in webhooks docs page (#22242) 2024-04-18 15:08:27 +02:00
José Varela
476a2482ad Api: Clear system cache only if specified on /utils/cache/clear (#22234)
* Clear system cache only if specified

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-04-17 17:07:10 -04:00
José Varela
bf47a19428 API: Prevent endless loop on get-schema (#22230)
* Prevent endless loop on `get-schema`

* Make magic value configurable

* Fix linter warning

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-04-17 15:50:27 -04:00
dependabot[bot]
37b053e174 Bump vue from 3.4.22 to 3.4.23 (#22218)
Bumps [vue](https://github.com/vuejs/core) from 3.4.22 to 3.4.23.
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.4.22...v3.4.23)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-17 08:09:10 +02:00
dependabot[bot]
509fed7c4d Bump vue from 3.3.8 to 3.4.22 (#22202)
Bumps [vue](https://github.com/vuejs/core) from 3.3.8 to 3.4.22.
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/compare/v3.3.8...v3.4.22)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 09:46:12 +02:00
José Varela
75c03bdd99 Api / Graphql : Allow version as singleton argument on singleton (#22184)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-04-12 10:50:32 +00:00
Bryant Gillespie
4638147591 Update reusable-components.md (#22170) 2024-04-11 13:04:51 +00:00
Nico
b983d1fcf0 Add env variables to configure PM2 log paths + documentation (#22155)
* Add env variables to configure PM2 log paths + documentation

* Sign Contributor License Agreement

* Run prettier fix

* Add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2024-04-10 11:01:45 -04:00
Kimia Abtahi
80187aef13 Fix wrong trigger type hook to correct event in flows.md (#22141) 2024-04-09 16:31:13 +02:00
ian
cea3ea9bc6 Remove v-image deprecation notice (#22106) 2024-04-05 16:17:45 +02:00
dependabot[bot]
aaaf509188 Bump typedoc from 0.25.10 to 0.25.12 (#22058)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.10 to 0.25.12.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.25.10...v0.25.12)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 08:16:18 +02:00
ian
91e17f9252 Update Twilio hook guide to use the errors package (#22037)
Co-authored-by: Pascal Jufer <paescuj@users.noreply.github.com>
2024-04-01 14:49:54 +02:00
Aprilia
6e435c6300 Fix code in react real-time chat guide (#22035) 2024-04-01 09:35:26 +02:00
Brainslug
988bc8762e [App] Migrate authentication and refreshing to the SDK (#21938)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-03-31 14:28:11 +02:00
daedalus
aa5f13063f docs(email templates): incorrect sample path (#22022) 2024-03-29 22:34:10 +01:00
José Varela
dbf6667850 Docs / SSO: Fix docs about session cookie on Seamless mode (#21983)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-03-26 16:47:34 +00:00
Brainslug
0950fe9472 Docs update content version description (#21905) 2024-03-20 12:45:26 +01:00
dependabot[bot]
43fc9ce797 Bump eslint-plugin-react from 7.34.0 to 7.34.1 (#21899)
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.34.0 to 7.34.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/v7.34.1/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.0...v7.34.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 11:37:53 +01:00
Brainslug
75c6e2b092 SDK Custom Endpoint Helper (#21850)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-03-14 17:19:13 +01:00
Pascal Jufer
4fcc053d2a Move @directus/format-title into the monorepo (#21847) 2024-03-14 10:33:47 -04:00
dependabot[bot]
16d1554d85 Bump marked from 12.0.0 to 12.0.1 (#21841)
Bumps [marked](https://github.com/markedjs/marked) from 12.0.0 to 12.0.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v12.0.0...v12.0.1)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-14 01:07:30 +00:00
daedalus
7bea23b7f5 Add the ability to configure the error, bug and feature URLs (#21174)
* add report url fields

* update field template to be agnostic

* add changeset

* various fixes

* rename handler to load path level

* add translations

* updated docs

* fix tests

* add placeholder support for system-display-template

* refactor project to report and move to their own settings section

* example urls should be more concrete

Co-Authored-By: Pascal Jufer <5363448+paescuj@users.noreply.github.com>

* move hardcoded default report urls to constants

Co-Authored-By: Pascal Jufer <5363448+paescuj@users.noreply.github.com>

* Make nav reactive, so URL changes are immediate

* change order of report urls

* change icon to feedback

* move composable to top level

* remove ref, use from prop

* Update .changeset/tender-timers-develop.md

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* rm select_a_collection_or_tree_fields translation key

---------

Co-authored-by: Pascal Jufer <5363448+paescuj@users.noreply.github.com>
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
Co-authored-by: Daniel Biegler <DanielBiegler@users.noreply.github.com>
2024-03-13 15:04:25 +01:00
Pascal Jufer
747503b7f8 Add breaking change note for Send Email operation (#21804) 2024-03-13 10:48:39 +01:00
Pascal Jufer
76306ae953 Optimize error messages in docs newsletter form (#21791) 2024-03-13 10:48:11 +01:00
Rijk van Zanten
f0e910ee58 Add LRU cache to GraphQLSchema generation (#21783)
* Install mnemonist

* Add LRU cache for graphql schema

* Add changeset

* Update api/src/services/graphql/index.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Add env var to /env and docs

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-03-11 17:23:34 -04:00
Rijk van Zanten
c24dc0079a Add REDIS_ENABLED env var (#21809)
* Add REDIS_ENABLED env var

* Add changeset

* Remove previous attempt
2024-03-11 17:08:50 -04:00
Pascal Jufer
c9cfda4fdb Update docker guide docs to persist extensions volume (#21725) 2024-03-08 17:51:54 -05:00
Joël Kuijper
5c1f3d441e docs: broken link on home page (#21759) 2024-03-08 17:58:11 +01:00
Pascal Jufer
0ef1f3dd3e Fix loading of Sandbox Operation Extensions (#21751) 2024-03-08 09:24:02 +01:00
Rijk van Zanten
839fdb10bd Add missing var 2024-03-07 17:29:11 -05:00
Rijk van Zanten
3072a1aa57 Document max limit 2024-03-07 14:48:12 -05:00
Rijk van Zanten
5aa949bcfc Soften note language 2024-03-06 16:24:40 -05:00
Rijk van Zanten
bd168545d0 Add support for EMAIL_TEMPLATES_PATH (#21729)
* Load custom templates from templates path

* Fix name

* Add changeset

* Fix missing env vars in tests

* Fix name typo

* Move email templates to self hosted section

* Add breaking change note

* Add redirect for old file
2024-03-06 15:48:21 -05:00
Kevin Lewis
740b7ca48b Docs: Move Migrations out of Extensions (#21719)
Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-03-06 13:14:40 +00:00