Commit graph

19 commits

Author SHA1 Message Date
momantech
7e2b5b196a
chore: fix some comments (#2918) 2024-05-08 12:17:23 +05:30
Aceix
117c8ba1f1
fix: fix typo "admin_email" 2024-04-30 09:20:15 +00:00
the_aceix
42e522f96b fix(NET-1175): add "email" to telemetry data 2024-04-29 14:05:36 +00:00
Abhishek K
b7c8b738d7
NET-1064: Improved Oauth SignUp message prompts (#2875)
* add pending users api

* insert user to pending users on first time oauth login

* add pending user check on headless login

* fix conflicting apis

* no records error

* add allowed emails domains for oauth singup to config

* check if user is allowed to signup

* improve oauth message prompts

* handle trial enddate  error logs
2024-04-03 23:59:44 +05:30
the_aceix
ddb7879396 feat(NET-1034): add trial data to telemetry 2024-03-13 16:33:28 +00:00
abhishek9686
6749fb4516 add trial license logic 2024-01-19 14:51:51 +05:30
Gabriel de Souza Seibel
1a1ba1ccf4
[NET-546] Move ee code to ee package, unify ee status and terminology (#2538)
* Move ee code to ee package and unify ee status to IsPro

* Consolidate naming for paid/professional/enterprise version as "pro". Notes:

- Changes image tags
- Changes build tags
- Changes package names
- Doesn't change links to docs that mention "ee"
- Doesn't change parameters sent to PostHog that mention "ee"

* Revert docker image tag being -pro, back to -ee

* Revert go build tag being pro, back to ee

* Add build tags for some ee content

* [2] Revert go build tag being pro, back to ee

* Fix test workflow

* Add a json tag to be backwards compatible with frontend "IsEE" check

* Add a json tag for the serverconfig struct for IsEE

* Ammend json tag to Is_EE

* fix ee tags

---------

Co-authored-by: Abhishek Kondur <abhi281342@gmail.com>
2023-09-01 07:42:05 +05:30
Abhishek K
230e062c84
GRA-1298: License check changes, free tier limits for saas (#2418)
* set free tier limits through config

* add host limit to config

* check for host limit on free tier

* fix license validation, replace node limit with hosts

* add hosts to telemetry data

* debug init

* validate license every 1hr

* hook manager, api to fetch server usage

* hook manager, server usage api

* encode json server usage api

* update ngork url

* update license validation endpoint

* avoid setting limits on eer

* adding hotfix

* correct users limits env var

* add comments to exported funcs

---------

Co-authored-by: afeiszli <alex.feiszli@gmail.com>
2023-06-28 20:33:06 +05:30
Matthew R Kasun
ecba6e4622 new func getServerCount 2023-03-08 13:23:25 -05:00
Matthew R. Kasun
38cd4d7700 refactor join
also removes server node
suspect there may be issues with proxy
and UI interactions with nodes
2022-12-20 15:29:09 -05:00
Matthew R. Kasun
c086e9499d rebase
Signed-off-by: Matthew R. Kasun <mkasun@nusak.ca>
2022-12-19 15:15:35 -05:00
cameronts
c97d6cfd66 Add telemetry for EE and FreeTier flags 2022-09-29 15:40:10 -07:00
Abhishek Kondur
db532fd03a add servers 2022-09-12 18:27:47 +05:30
Abhishek Kondur
8cbe796748 add servers to telemetry data 2022-09-12 18:06:17 +05:30
afeiszli
8694295dc4 fixing timer logic 2022-05-28 10:23:32 -04:00
0xdcarns
ac632a75b7 refactored struct 2022-01-29 18:18:46 -05:00
0xdcarns
19426fc3e1 added a cleanup 2022-01-29 18:18:46 -05:00
0xdcarns
0874ad1cd8 updated to log errors 2022-01-25 12:36:25 -05:00
0xdcarns
7846420fa7 added timer hooks 2022-01-25 11:00:56 -05:00
Renamed from serverctl/telemetry.go (Browse further)