9 Commits

Author SHA1 Message Date
Oliver Günther 6c40b7ae9e Show the video also when uploading the first token 2025-09-24 13:06:07 +02:00
Oliver Günther ef3070f4c4 Remove unused code 2025-09-24 12:30:54 +02:00
Jan Sandbrink f824b479e8 Merge DialogStreamHelper into ComponentStream
The former depended 100% on the latter anyways and there
was no clear separation of concerns between the two. For
example ComponentStream had methods to close a dialog.
Thus it made sense to merge the two.
2025-06-20 08:14:49 +02:00
Oliver Günther d62f001897 Remove iframe on close of the dialog 2025-06-13 14:47:45 +02:00
Oliver Günther 53e0340063 Re-add video dialog removed in Angular 2025-06-13 14:47:44 +02:00
Oliver Günther fcb8f8e3be Implement trial status checks 2025-06-13 14:47:44 +02:00
Oliver Günther 7cf82a737b Primerize trial creation 2025-06-13 14:47:43 +02:00
Christophe Bliard d9ef662173 Fix display of error messages in dialog when uploading tokens
And rewrite EnterpriseTokensController specs to test it properly.
2025-06-11 15:09:02 +02:00
Oliver Günther 4dc60db27c [64157] Handle multiple tokens
https://community.openproject.org/wp/64157

Instead of having one single token, we can now have multiple tokens.
They can have different plans, different trial/non-trial status, and
different activation dates.

This allows:
- to have a paid token for a plan, and a trial token for two weeks to
  try out a higher plan.
- to have an existing token for a plan which will soon expire, and add
  the token for the next period or a higher plan in parallel.

All tokens are listed on the same page in the administration.
2025-06-11 15:05:07 +02:00