Commit Graph

157 Commits

Author SHA1 Message Date
4ad5e682a8 Enhance StaticHandler to support brotli compression and update content type handling 2025-11-04 19:02:38 +01:00
ab6cb47047 Add theme attribute to test user creation 2025-11-03 20:53:54 +01:00
3926954b74 Add theme to user preferences 2025-10-28 20:05:12 +01:00
6753f32520 Remove test case for uploading with missing file_path parameter 2025-10-28 19:09:46 +01:00
de06939b01 Fix file upload 2025-10-28 18:58:10 +01:00
9a232819a8 Handle HEAD requests with static router 2025-10-23 20:26:34 +02:00
071e99f4da Remove documentation.md 2025-10-23 19:17:51 +02:00
d0842c515f Change move file endpoint from PUT to POST and add integration tests for file moving and renaming 2025-10-22 21:50:37 +02:00
ec89f95880 Fix get image url 2025-10-11 22:51:08 +02:00
aca127e52e Move rate limiting for authentication endpoints to the public routes group 2025-10-11 22:16:15 +02:00
a904a0d1a3 Improve admin credentials error messages with setup instructions 2025-10-11 21:22:38 +02:00
62605b3689 Refactor encryption key handling: auto-generate if not provided, update README and tests 2025-10-11 21:18:24 +02:00
d40321685e Remove system settings functionality and related database migrations 2025-10-11 21:04:01 +02:00
8920027a9c Load or generate signing key from file 2025-10-11 20:55:44 +02:00
005288b3d8 Add file size validation in UploadFile handler to prevent excessive memory allocation 2025-07-12 15:06:01 +02:00
9f01c64e5e Enhance file upload functionality to support multiple files; update related tests and response structure 2025-07-12 14:58:32 +02:00
ff4d1de2b7 Refactor uploadFile to support multiple file uploads and update related types and handlers 2025-07-12 14:25:03 +02:00
4ea24f07d1 Refactor file routes and update API endpoints for consistency 2025-07-12 12:34:17 +02:00
f4d8a354c4 Add parameters for source and destination paths in moveFile endpoint 2025-07-12 11:58:50 +02:00
3ac657486c Implement MoveFile functionality 2025-07-12 11:52:51 +02:00
9bb95f603c Implement MoveFile functionality in FileManager and corresponding tests 2025-07-11 19:49:08 +02:00
5a6895ecdc Enhance integration tests with file upload functionality and support for multipart requests 2025-07-10 22:02:03 +02:00
ae4e9c8db2 Add upload and move file functionalities to API with appropriate routes 2025-07-10 21:07:20 +02:00
48d42a92c9 Refactor API routes to include "_op" prefix for last workspace and file operations 2025-07-08 20:16:46 +02:00
dependabot[bot]
254bccb1d9 Bump github.com/go-chi/chi/v5
Bumps the go_modules group with 1 update in the /server directory: [github.com/go-chi/chi/v5](https://github.com/go-chi/chi).


Updates `github.com/go-chi/chi/v5` from 5.1.0 to 5.2.2
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.1.0...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-version: 5.2.2
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-03 20:00:53 +00:00
dependabot[bot]
bc863bd8ef Bump github.com/cloudflare/circl
Bumps the go_modules group with 1 update in the /server directory: [github.com/cloudflare/circl](https://github.com/cloudflare/circl).


Updates `github.com/cloudflare/circl` from 1.3.7 to 1.6.1
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.7...v1.6.1)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-version: 1.6.1
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-10 21:23:52 +00:00
63f3679e1f Merge branch 'main' into feat/typescript 2025-05-25 16:03:18 +02:00
f3f2deea35 Update default DBURL to use sqlite:// format in DefaultConfig 2025-05-25 15:39:47 +02:00
fe2a466a4f Add URL decoding for workspace and file paths in handlers 2025-05-25 15:33:07 +02:00
ab3cb56aa1 Add IF NOT EXISTS clause to index creation for sessions and workspaces tables 2025-05-24 14:05:58 +02:00
0769aa2bac Fix default database URL and type in Config 2025-04-18 19:21:06 +02:00
dependabot[bot]
46f4df155f Bump golang.org/x/net
Bumps the go_modules group with 1 update in the /server directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.36.0 to 0.38.0
- [Commits](https://github.com/golang/net/compare/v0.36.0...v0.38.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.38.0
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 23:18:51 +00:00
dependabot[bot]
c44381bb86 Bump github.com/golang-jwt/jwt/v5
Bumps the go_modules group with 1 update in the /server directory: [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt).


Updates `github.com/golang-jwt/jwt/v5` from 5.2.1 to 5.2.2
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v5.2.1...v5.2.2)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v5
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 22:18:32 +00:00
dependabot[bot]
09f1ee6a57 Bump golang.org/x/net
Bumps the go_modules group with 1 update in the /server directory: [golang.org/x/net](https://github.com/golang/net).


Updates `golang.org/x/net` from 0.33.0 to 0.36.0
- [Commits](https://github.com/golang/net/compare/v0.33.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-13 01:34:56 +00:00
d97f5a0178 Use time since 2025-03-07 19:53:19 +01:00
94ea2d0d78 Fix time since 2025-03-07 19:53:03 +01:00
3eb4424e86 Implement time since query 2025-03-07 19:48:36 +01:00
f7825e5a67 Use search path in connection string 2025-03-07 19:48:17 +01:00
72b0ac08ce Add test env var to settings.json 2025-03-07 19:47:44 +01:00
32628abf09 Add pgadmin to test compose 2025-03-07 19:47:15 +01:00
d8de67ae6c Add test postgres docker compose 2025-03-06 21:40:16 +01:00
f55d2644c3 Run integration tests with both dbs 2025-03-06 21:39:56 +01:00
629baa9952 Add test postgres db connection 2025-03-06 19:23:24 +01:00
4766a166df Add struct_query tests 2025-03-05 22:36:27 +01:00
7e9aab01cb Fix ommit empty db tag 2025-03-05 22:03:32 +01:00
904d4ce106 Update documentation 2025-03-05 21:31:58 +01:00
52aa406c6d Add docs comments to struct query 2025-03-05 21:30:40 +01:00
3aa8c838e8 Use struct queries in users 2025-03-05 21:20:57 +01:00
976425d660 Use ScanStruct in sessions 2025-03-05 21:07:05 +01:00
0f97927219 Rework UpdateStruct 2025-03-03 22:04:38 +01:00