22 Commits

Author SHA1 Message Date
Simon Emms
0a1ae3da1d [licensor]: deprecate the licensor
This makes all licences unlimited users. This component will be removed
in future.
2023-01-10 08:51:49 +01:00
Christian Weichel
478a75e744 Switch license to AGPL 2022-12-08 13:05:19 -03:00
Gero Posmyk-Leinemann
77dc995452 [licensor] Make LicensePayload.CustomerID omitEmpty 2022-06-28 13:07:37 +05:30
Adrien Thebo
47bf5c5622 [installation-telemetry] Expose Customer ID field in telemetry 2022-06-25 00:47:33 +05:30
Nandaja Varma
9fa1375511 [licensor] update fn parameter in license validator 2022-05-25 21:35:39 +05:30
Nandaja Varma
cbbd49a8c6 [licensor] allow invalid domain in professional license 2022-05-18 14:15:32 +05:30
Nandaja Varma
0ab2a8da13 [licensor] cleanup duplicate license types 2022-05-10 13:36:25 +05:30
Nandaja Varma
3444a6a057 [dashboard] license tab in the admin dashboard 2022-05-02 16:24:18 +05:30
Nandaja
f53b52afe3 [licensor] fix fallback for defaultlicense 2022-04-07 18:53:20 +05:30
Simon Emms
99e0371787 [licensor]: remove prebuilds from the team level license 2022-03-14 20:14:21 +05:30
Simon Emms
2a01281a96 [licensor]: introduce concept of a fallback license with limited features
The Enabled function now has knowledge of the number of seats in use. If
this is still within range, the features are checked against the loaded
license. If not, they will be checked against the fallback license.

The fallback is optional, based upon the license type - Gitpod licenses
always disable fallback. Replicated licenses disable fallback if it's a
paid license. This is so paying customers aren't inconvenienced by
losing features - instead, they will be unable to add additional users,
as is the current behaviour.
2022-03-14 20:14:21 +05:30
Simon Emms
3aba53635e [licensor]: allow admin dashboard access for all levels
The admin dashboard is now an essential part of administering Gitpod
so it makes no sense to block it for users.
2022-03-14 20:14:21 +05:30
Simon Emms
7bbd1768db [licensor]: refactor evaluators into a single evaluator
The previous Gitpod and Replicated evaluators were functionally
identical anyway as all the logic happens in the constructors
2022-03-14 20:14:21 +05:30
Simon Emms
30fc465699 Extract the evaluator type and create Gitpod and Replicated licensors 2022-02-25 17:24:04 +05:30
Sven Efftinge
240197f239 [server] remove prebuilt time limit 2021-09-14 15:37:39 +05:30
Laurie T. Malau
0e270bc524 [license] adjust users of self-hosted license
Related to https://github.com/gitpod-io/gitpod/issues/5314
2021-08-31 04:04:29 -03:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Christian Weichel
75aac9bffe [licensor] Support domain pattern 2021-06-25 07:58:36 +02:00
Manuel Alejandro de Brito Fontes
3b4ebc9bad Migrate deprecated methods from ioutil package 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
gitpod-init
24f7b609bf initial commit 2020-08-25 09:25:15 +00:00