Commit Graph

71 Commits

Author SHA1 Message Date
alhdo
426e8d977e change package namespace 2023-09-27 15:43:23 +02:00
morestatic
dd32ada6e7 Update SQL migrations due to tooling update and changes to the notification service schema 2023-07-04 15:36:34 +07:00
Konrad Kuznicki
f70c90f04a notification service 2023-06-28 11:50:31 +02:00
morestatic
a714dc9292 Rename git organization to realvnc-labs 2023-03-23 11:14:05 +07:00
Edoardo Ceccarelli
97ed647eb7 apitoken db migration setup 2023-03-16 08:33:29 +02:00
morestatic
bf15ec5ac2 Merge branch 'master' into DEV-2755-client-connection-thread-safety 2023-03-02 06:56:59 +07:00
Edoardo Ceccarelli
84ceeb6b09 sqlite upgrade, test fix 2023-02-28 13:03:50 +02:00
Edoardo Ceccarelli
e6b9c5b8b1 simplified db side 2023-02-24 21:23:21 +02:00
Edoardo Ceccarelli
9ff0f641bd per field sql upsert 2023-02-22 17:19:08 +02:00
Edoardo Ceccarelli
30e361c0ca Token name and its testing, wip 2023-02-21 19:22:56 +02:00
morestatic
c5cbd31786 Fixes after locking and other discussions 2023-02-17 11:42:06 +07:00
morestatic
5bfab9fac7 Initial version with improved server concurrency and better client retry
handling

align client service param names with master
2023-02-15 16:44:30 +07:00
Edoardo Ceccarelli
2c4e4a1384 cleaning and some todo 2022-12-23 12:59:34 +02:00
Edoardo Ceccarelli
4c4e8551c7 Merge branch 'master' into feature/dev-2683-mass-deployment 2022-12-23 10:17:42 +02:00
Edoardo Ceccarelli
006111d93d Extracting prefix from password, wip 2022-12-21 16:53:31 +02:00
Edoardo Ceccarelli
7bcc01c04f more check in sql upsert, username 2022-12-21 11:45:50 +02:00
morestatic
9570dbc09d Only allow a single open sqlite DB connection at a time 2022-12-19 13:48:45 +07:00
Edoardo Ceccarelli
dc840f75c0 default created_at timestamp, test insert and update 2022-12-13 14:00:27 +02:00
Edoardo Ceccarelli
323917c8a6 work in progress sqlite_test.go 2022-12-12 11:06:17 +02:00
Edoardo Ceccarelli
b66f9b3f0d removed id from api_token, upsert in sqlite 2022-12-08 14:26:07 +02:00
Edoardo Ceccarelli
deedeb7e7d from api_tokens to api_token, bindata wrapup, air in gitignore 2022-11-30 09:25:48 +02:00
Edoardo Ceccarelli
7375506f44 startup 2022-11-29 16:35:01 +02:00
morestatic
7b2a51f601 Remove maxAttempts as a WithRetryWhenBusy param 2022-11-23 11:21:11 +07:00
morestatic
147f39f5d0 Add retry support for writes to the jobs db and inserts to the monitoring db 2022-11-22 16:25:52 +07:00
morestatic
34a486356e Remove tokens from the api sessions db 2022-11-17 10:39:20 +07:00
morestatic
43ef56eab0 Initial version with jwt management via the api 2022-11-11 11:18:05 +07:00
Thorsten Kramm
e5c84a1e6d client group access permissions based on user groups 2022-09-14 19:16:46 +02:00
Thorsten Kramm
4bd10c8965 Added timeout field to command's and script's library 2022-09-12 16:57:48 +02:00
Thorsten Kramm
ed1ff8d076 create and open sqlite files with restrictive file mode 2022-06-07 21:11:46 +02:00
domenipavec
878a1d95a2 Add db migration 2022-06-07 11:51:32 +00:00
Thorsten Kramm
34d7facb5c fixing wrong table name 2022-05-13 11:51:05 +02:00
Thorsten Kramm
39d8dc5866 Sqlite3 WAL mode as global setting 2022-05-11 15:55:43 +02:00
Domen Ipavec
661e409709
DEV-2455: Improve list jobs endpoints (#436)
* Add filtering and pagination to /commands endpoint

* Update api doc for /commands

* Add filtering and pagination to /clients/{id}/commands endpoint

* Update api doc

* Fix tests
2022-02-09 14:13:53 +01:00
Domen Ipavec
ef5ff7d2c6
DEV-2455: Schedules api (#421)
* Add schedules api

* Add tests
2022-01-19 12:13:04 +01:00
Gerald Kahrer
4c2cc9a16e DEV-2384 changes after code review 2021-12-24 11:03:14 +01:00
Gerald Kahrer
f3d27915c0 DEV-2384 change migration number after merge 2021-12-09 12:55:01 +01:00
Gerald Kahrer
b34c7af07b Merge branch 'master' into DEV-2384-monitoring-net-bandwidth
# Conflicts:
#	db/migration/monitoring/bindata.go
2021-12-08 14:31:12 +01:00
Gerald Kahrer
b176605c54
Merge pull request #377 from cloudradar-monitoring/DEV-2341-fix-cleanup-index
DEV-2341 fix cleanup with indexes
2021-12-08 10:59:58 +01:00
Domen Ipavec
569a917cca
DEV-2377: Add public port and further_options to stored tunnels (#376)
* Add public port and further options to stored tunnels

* Update docs
2021-12-08 10:50:10 +01:00
Gerald Kahrer
c5eb931d25 DEV-2341 fix cleanup with indexes 2021-12-07 20:18:08 +01:00
Gerald Kahrer
601ef45579 DEV-2384 db migration 2021-12-07 17:42:23 +01:00
Domen Ipavec
a1cad02008
DEV-2377: Add stored tunnels api (#361)
* Add stored tunnels endpoints

* Add name column

* Add api docs

* Decouple stored tunnels manager
2021-11-30 13:47:53 +01:00
Mykola Terelia
0c906e5d07 DEV-2237: Store API sessions 2021-11-23 02:50:18 +02:00
Gerald Kahrer
a2e8c4056d DEV-2343 complete tests 2021-11-04 14:15:21 +01:00
Gerald Kahrer
a8b4e624e2 Merge branch 'master' into DEV-2341-monitoring-data-reception
# Conflicts:
#	Makefile
#	cmd/rportd/main.go
2021-10-28 07:12:05 +02:00
Gerald Kahrer
bd3468a94c DEV-2341 code review incorporated 2021-10-27 11:21:01 +02:00
Domen Ipavec
4be0c7451c
DEV-2265: Sqlite for auditlog (#320)
* Add sqlite provider

* Add config and implement ip obfuscation
2021-10-22 10:59:30 +02:00
Gerald Kahrer
73bd8ea6a3 Merge remote-tracking branch 'origin/master' into DEV-2341-monitoring-data-reception
# Conflicts:
#	Makefile
#	client/command.go
#	client/command_test.go
#	client/config.go
#	client/file.go
#	client/file_test.go
#	go.mod
#	server/api.go
2021-10-21 13:54:08 +02:00
Gerald Kahrer
2c5a358962 DEV-2343 api 'metrics' 2021-10-14 14:13:00 +02:00
Domen Ipavec
d9b98c7bd3
DEV-2209: Add commands to library (#299)
* Add CRUD endpoints for commands

* Add api-doc

* Disable dupl

Co-authored-by: Andrey Pozolotin <posandrey@gmail.com>
2021-10-05 16:06:30 +03:00