darkskygit
1116a1d74e
feat(server): supplement team email remind ( #9483 )
...
fix PD-2047 AF-1996
2025-01-21 05:18:02 +00:00
forehalo
44de4474c3
feat(server): use user model ( #9710 )
2025-01-17 07:06:12 +00:00
forehalo
7aba836dbe
fix(server): cant specify subscription to onetime payment ( #9448 )
2024-12-31 04:51:06 +00:00
forehalo
83618e38a2
chore(server): cleanup team impl ( #9171 )
2024-12-16 08:41:11 +00:00
darkskygit
994e4c5bc1
feat(server): seat calc follow member count ( #9138 )
2024-12-13 06:44:05 +00:00
forehalo
0e73737407
refactor(server): make redis required module ( #9121 )
2024-12-13 06:27:15 +00:00
forehalo
81c68032e1
refactor(server): standalone runtime module ( #9120 )
2024-12-13 06:27:14 +00:00
forehalo
4c23991047
chore: rename fundamentals to base ( #9119 )
2024-12-13 06:27:13 +00:00
liuyi
1721875ab6
fix(server): minize checkout parameters ( #9090 )
2024-12-10 08:24:28 +00:00
liuyi
c0938bd0d5
chore(server): team free trial control logic is not ready ( #9088 )
2024-12-10 15:36:27 +08:00
forehalo
564faa439a
fix(server): should auto apply ea price for users ( #9082 )
2024-12-10 05:31:19 +00:00
forehalo
115caa7cc6
fix(server): wrong stripe checkout params ( #9056 )
2024-12-10 01:56:58 +00:00
DarkSky
9365958a02
feat(server): team quota ( #8955 )
2024-12-09 18:51:54 +09:00
forehalo
0436e59b6a
feat(server): auto init stripe products when development ( #9034 )
2024-12-05 14:21:59 +00:00
liuyi
4c39b89b98
feat(server): ai trial support ( #9031 )
2024-12-05 09:39:59 +00:00
forehalo
5bf8ed1095
feat(server): support team workspace subscription ( #8919 )
...
close AF-1724, AF-1722
2024-12-05 08:31:01 +00:00
forehalo
4055e3aa67
refactor(server): payment service ( #8906 )
2024-12-05 08:31:00 +00:00
Boshen
c349a24e95
chore: upgrade oxlint to v0.13.2 ( #8891 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com >
2024-11-26 17:56:35 +08:00
liuyi
ad10690043
fix(server): ignore invalid subscription variant for subscriptinos query as well ( #8894 )
2024-11-22 13:50:21 +08:00
liuyi
b5fed7b01d
fix(server): ignore invalid subscription variant ( #8892 )
2024-11-22 03:57:38 +00:00
forehalo
69fb5c06f4
feat(server): support onetime payment subscription ( #8369 )
2024-10-10 10:12:40 +00:00
forehalo
4ec89ebd69
chore(server): standardize server db names and columns ( #7674 )
2024-07-31 07:59:23 +00:00
forehalo
14fbeb7879
fix(server): should clean bill date if lifetime subscription ( #7577 )
2024-07-23 08:19:28 +00:00
forehalo
9ef8829ef1
feat(server): add lifetime plan flag ( #7443 )
2024-07-08 07:41:30 +00:00
forehalo
de91027852
feat(server): support lifetime subscription ( #7405 )
...
closes CLOUD-48
- [x] lifetime subscription quota
- [ ] tests
2024-07-08 07:41:26 +00:00
liuyi
54fc1197ad
feat(server): introduce user friendly server errors ( #7111 )
2024-06-17 11:30:58 +08:00
forehalo
41bc683eed
fix(server): should update stripe customer email if changed ( #7181 )
2024-06-08 15:52:23 +00:00
forehalo
638fc62601
feat(server): runtime setting support ( #5602 )
...
---
<details open="true"><summary>Generated summary (powered by <a href="https://app.graphite.dev ">Graphite</a>)</summary>
> ## TL;DR
> This pull request adds a new migration file, a new model, and new modules related to runtime settings. It also introduces a new `Runtime` service that allows getting, setting, and updating runtime configurations.
>
> ## What changed
> - Added a new migration file `migration.sql` that creates a table called `application_settings` with columns `key` and `value`.
> - Added a new model `ApplicationSetting` with properties `key` and `value`.
> - Added a new module `RuntimeSettingModule` that exports the `Runtime` service.
> - Added a new service `Runtime` that provides methods for getting, setting, and updating runtime configurations.
> - Modified the `app.module.ts` file to import the `RuntimeSettingModule`.
> - Modified the `index.ts` file in the `fundamentals` directory to export the `Runtime` service.
> - Added a new file `def.ts` in the `runtime` directory that defines the runtime configurations and provides a default implementation.
> - Added a new file `service.ts` in the `runtime` directory that implements the `Runtime` service.
>
> ## How to test
> 1. Run the migration script to create the `application_settings` table.
> 2. Use the `Runtime` service to get, set, and update runtime configurations.
> 3. Verify that the runtime configurations are stored correctly in the database and can be retrieved and modified using the `Runtime` service.
>
> ## Why make this change
> This change introduces a new feature related to runtime settings. The `Runtime` service allows the application to dynamically manage and modify runtime configurations without requiring a restart. This provides flexibility and allows for easier customization and configuration of the application.
</details>
2024-05-28 06:43:53 +00:00
forehalo
aff166a0ef
feat(server): add administrator feature ( #6995 )
2024-05-27 11:17:21 +00:00
darkskygit
8e0a0a7f02
fix: wait activated event ( #6814 )
2024-05-07 09:44:38 +00:00
forehalo
7041991967
fix(server): allow promotion codes if no discount applied ( #6810 )
2024-05-07 07:44:41 +00:00
forehalo
f566457dcf
test(server): payment tests ( #6737 )
2024-04-30 06:59:54 +00:00
darkskygit
8bdd940ac8
fix: some event missing with multiple env webhook ( #6705 )
2024-04-26 02:56:09 +00:00
forehalo
2c228a35f8
fix(server): stripe webhook calls in random order ( #6702 )
2024-04-25 12:22:07 +00:00
forehalo
098e717688
chore(server): remove useless free subscription enum ( #6634 )
2024-04-19 13:34:59 +00:00
forehalo
651a99a48e
fix(server): avoid store unpaid subscriptions
2024-04-17 16:25:03 +08:00
liuyi
5b315bfc81
fix(server): only returns active subscriptions ( #6590 )
2024-04-17 16:19:34 +08:00
forehalo
e1c292b8b5
feat(server): support registering ai early access users ( #6565 )
2024-04-16 13:54:08 +00:00
darkskygit
1b0864eb60
feat: check quota correctly ( #6561 )
2024-04-16 09:41:48 +00:00
liuyi
edef9b2735
fix(server): only auto apply coupon in pro subscription ( #6452 )
2024-04-03 17:13:18 +08:00
EYHN
f2adbdaba4
style: enable import-x/no-duplicates ( #6279 )
2024-03-25 03:55:33 +00:00
Brooooooklyn
10af0ab48d
feat(server): support ai plan ( #6216 )
2024-03-22 08:39:18 +00:00
Brooooooklyn
aecc523663
fix(server): avoid error when other prices added but logic is not released ( #6191 )
2024-03-22 08:39:12 +00:00
liuyi
e94be8968b
fix(server): hotfix ( #6161 )
2024-03-18 10:41:11 +08:00
liuyi
fb3a0e7b8f
refactor(server): auth ( #5895 )
...
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.
## Server
- [x] tokens
- [x] function
- [x] encryption
- [x] AuthController
- [x] /api/auth/sign-in
- [x] /api/auth/sign-out
- [x] /api/auth/session
- [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)
- [x] OAuthPlugin
- [x] OAuthController
- [x] /oauth/login
- [x] /oauth/callback
- [x] Providers
- [x] Google
- [x] GitHub
## Client
- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut
## NOTE:
Tests will be adding in the future
2024-03-12 10:00:09 +00:00
DarkSky
3432f355b0
feat: backend module awareness & optional request ( #5909 )
2024-02-28 08:29:37 +00:00
liuyi
4d421a324f
refactor(server): import prisma from @prisma/client ( #5863 )
2024-02-22 07:46:57 +00:00
liuyi
d9c2dc8dfb
fix(server): apply env overrides after all config merged ( #5795 )
2024-02-04 06:38:31 +00:00
liuyi
bef266ae3b
refactor(server): reorganize server configs ( #5753 )
2024-02-02 08:32:07 +00:00
LongYinan
e26d978b26
fix(server): resolve cherry-pick issue
2024-01-31 22:00:20 +08:00