Commit graph

56 commits

Author SHA1 Message Date
dependabot[bot] df0dfc74ce Bump gorm.io/driver/sqlite from 1.5.2 to 1.5.3
Bumps [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite) from 1.5.2 to 1.5.3.
- [Commits](https://github.com/go-gorm/sqlite/compare/v1.5.2...v1.5.3)

---
updated-dependencies:
- dependency-name: gorm.io/driver/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-03 15:17:05 +05:00
Ivan R. f129268c9f
Merge pull request #40 from prologic/sso_header_auth
Add support for basic SSO via Trusted Header Auth
2023-08-28 10:50:48 +05:00
James Mills f8c888d6b0
Fix a panic bug 2023-08-28 00:44:35 +10:00
James Mills e827f0cb23
Add support for basic SSO via Trusted Header Auth 2023-08-28 00:26:16 +10:00
Ivan R. 5df95b26d9
Create security.md 2023-07-22 22:18:05 +05:00
Ivan R. 598bb05528
Create docker-test.yml 2023-07-22 22:08:24 +05:00
Ivan R. 565216b2a3
Fixes in the dockerfile
1. Fixed copying of source files.
2. Updated base images.
3. A new path has been selected for the executable file. It is more canonical for Linux.
2023-07-22 22:04:37 +05:00
Ivan R. 3f41e605cb
Always underline the settings link
I've also simplified the content security policy a bit
to make it less of a hassle.
2023-07-22 21:49:47 +05:00
Ivan R. 5cb00632e6
Bring back the registration page 2023-07-22 21:49:40 +05:00
Ivan R. 37e8663ac2
Add more settings, update readme and Dockerfile 2023-07-22 21:32:11 +05:00
Ivan R. e24a3a754c
Update token cookie max age 2023-07-22 21:02:54 +05:00
Ivan R. 292df39bb8
Change path to API.
This helps you understand which paths return pages and which paths process forms.
2023-07-22 20:59:40 +05:00
Ivan R. 69eb490803
Add some headers to improve security 2023-07-22 20:49:13 +05:00
Ivan R. de76c90f3c
Rename 'backend' module to 'database' 2023-07-22 15:24:01 +05:00
Ivan R. 3c9e30375e
Move API initialization 2023-07-22 15:19:04 +05:00
Ivan R. 2c08171c7a
Start using JWT tokens
I thought this was a good idea.
Pros: fewer database calls.
Cons: there is no way to revoke the token (except for changing the secret key).

I rewrote the authorization as a middleware. Request handlers no longer need to validate the user.
2023-07-22 13:42:43 +05:00
Ivan R. 7f42a90be6
Add simple config module 2023-07-22 11:33:14 +05:00
Ivan R. 6234d252ec
Change padding and size of links 2023-07-21 20:26:55 +05:00
Ivan R. 0b18eca89a
Add description 2023-07-21 19:46:04 +05:00
Ivan R. 17fc857472
Add favicons (#3) 2023-07-21 19:38:37 +05:00
Ivan R. c17a75aa75
Change link style 2023-07-21 10:16:43 +05:00
Ivan R. ec9524fd0d
Highlight buttons if they are in focus 2023-07-21 10:05:56 +05:00
Ivan R. 4b84a5b508
Add area-labels for buttons without text (#7) 2023-07-21 10:01:33 +05:00
Ivan R. d6d38d2fbe
Increase spacing between groups on mobile devices (#8) 2023-07-21 09:56:07 +05:00
Ivan R. 81b7e6f896
Move code for working with db into functions that process requests 2023-07-21 09:48:57 +05:00
Ivan R. 2029b8ec19
Simplify makefile 2023-07-21 00:54:03 +05:00
dependabot[bot] 5bcb0ac37b Bump gorm.io/driver/sqlite from 1.5.0 to 1.5.2
Bumps [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite) from 1.5.0 to 1.5.2.
- [Commits](https://github.com/go-gorm/sqlite/compare/v1.5.0...v1.5.2)

---
updated-dependencies:
- dependency-name: gorm.io/driver/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:50:37 +05:00
dependabot[bot] 7600406356 Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:49:40 +05:00
dependabot[bot] d8306d6c73 Bump docker/build-push-action from 4.0.0 to 4.1.1
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.0.0 to 4.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.0.0...v4.1.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:48:09 +05:00
dependabot[bot] 560d878905 Bump docker/metadata-action from 4.3.0 to 4.6.0
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 4.3.0 to 4.6.0.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Commits](https://github.com/docker/metadata-action/compare/v4.3.0...v4.6.0)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:48:01 +05:00
dependabot[bot] 83322d3132 Bump docker/login-action from 2.1.0 to 2.2.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:47:53 +05:00
dependabot[bot] 9b00dfdbf8 Bump gorm.io/gorm from 1.25.0 to 1.25.2
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.25.0 to 1.25.2.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.25.0...v1.25.2)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:47:28 +05:00
dependabot[bot] b3e570f814 Bump golang.org/x/crypto from 0.5.0 to 0.11.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.5.0 to 0.11.0.
- [Commits](https://github.com/golang/crypto/compare/v0.5.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:47:17 +05:00
dependabot[bot] 782aa5483a Bump docker/setup-buildx-action from 2.5.0 to 2.9.1
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.5.0 to 2.9.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.5.0...v2.9.1)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-21 00:47:04 +05:00
dependabot[bot] 595266f8bb Bump gorm.io/gorm from 1.24.6 to 1.25.0
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.24.6 to 1.25.0.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.24.6...v1.25.0)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 22:37:09 +05:00
dependabot[bot] bcf4248742 Bump gorm.io/driver/sqlite from 1.4.4 to 1.5.0
Bumps [gorm.io/driver/sqlite](https://github.com/go-gorm/sqlite) from 1.4.4 to 1.5.0.
- [Release notes](https://github.com/go-gorm/sqlite/releases)
- [Commits](https://github.com/go-gorm/sqlite/compare/v1.4.4...v1.5.0)

---
updated-dependencies:
- dependency-name: gorm.io/driver/sqlite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 22:36:26 +05:00
Ivan R. 2dcc32b7f6
Create license.txt 2023-04-09 20:03:27 +05:00
Ivan R. a417101434
Describe the features in more detail 2023-04-09 19:51:20 +05:00
Ivan R. 54312d3718
Update port in readme 2023-04-09 19:38:43 +05:00
Ivan R. bbfc1c456e
Add docker-compose example 2023-04-09 19:32:35 +05:00
dependabot[bot] 1c80794b3f Bump docker/setup-buildx-action from 2.4.1 to 2.5.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-09 12:47:57 +05:00
Ivan R. 45e265a201
Enable dependabot 2023-04-09 12:46:32 +05:00
Ivan R. e1c99a6092
Format code with go fmt 2023-04-09 12:23:58 +05:00
Ivan R. 691ad33279
Add a screenshot 2023-04-09 12:22:50 +05:00
Ivan R. 086d50bee3
Set up github actions 2023-04-09 12:15:03 +05:00
Ivan R. a1be7e81b7
Add dockerfile 2023-04-09 12:13:57 +05:00
Ivan R. c21b20f356
Add the ability to set the path to the database 2023-04-09 12:05:50 +05:00
Ivan R. 8c32cb1071
Fix the appearance of links on the main page 2023-04-09 11:55:38 +05:00
Ivan R. c668af5001
Add the ability to edit groups 2023-04-09 11:55:08 +05:00
Ivan R. c43b63fbd6
Group CSS files 2023-04-09 11:33:34 +05:00