Commit graph

127 commits

Author SHA1 Message Date
b910d1fa5e chore(deps): update dependency vite to v4.1.4 2023-02-28 22:27:11 +00:00
e03a7340b1 chore(deps): update dependency svelte-check to v3.0.4 2023-02-28 22:26:58 +00:00
d30ffd8ec1 chore(deps): update dependency carbon-components-svelte to v0.73.2 2023-02-28 22:26:49 +00:00
eab00c825f fix(deps): update module github.com/miekg/dns to v1.1.51 2023-02-28 16:30:54 +00:00
10de80a3b3 fix(deps): update module github.com/stretchr/testify to v1.8.2 2023-02-28 15:49:33 +00:00
41ab4da0a0 Merge pull request 'feat(frontend): Styling' (#34) from frontend-styling into master
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/34
2023-02-28 15:49:00 +00:00
76e5144729 Merge pull request 'chore: make generic API errors and logging easier' (#42) from change-generics-again into master
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/42
2023-02-28 15:48:52 +00:00
db98d20205 Merge pull request 'fix(backend): make cookie more strict' (#37) from cookie-security into master
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/37
2023-02-28 15:48:25 +00:00
8db5c83a58 aaaaaaaaaaaaaaaaaaaaaaaaaa 2023-02-28 00:47:11 -05:00
9892433e3c messed with les generics again 2023-02-28 00:45:57 -05:00
d168b52184 piss 2023-02-24 22:36:53 -05:00
5d52caab70
fix(backend): make cookie more strict
THIS IS STILL NOT ENOUGH!

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-20 18:05:09 +01:00
17dd0ca5b7
put home into overflow menu
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-20 18:04:22 +01:00
6f2907cdca
bump dependencies
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-20 17:30:01 +01:00
dd065b9e85
remove the scss from the root
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 20:19:40 +01:00
772720a217 pin dependencies
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:17:02 +00:00
f58f2ceaf9 feat(frontend): Styling
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:17:02 +00:00
122996f08d fix(frontend): move vite file to TS
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:17:02 +00:00
b6d39ff2e0 fix(deps): bump frontend deps
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:17:02 +00:00
3df52fd618 Merge pull request 'feat: use new import URL' (#36) from new-import into master
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/36
2023-02-17 19:16:48 +00:00
f0fdd15473
use new import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-17 19:42:48 +01:00
9800801544 fix(deps): update module github.com/glebarez/sqlite to v1.7.0 2023-02-13 19:30:29 +00:00
7d36ee6262
frontend: re-enable server-side rendering
Allows the frontend to be used without JavaScript enabled

Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-13 20:26:09 +01:00
08975295ba
nit: add package.json to root
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-13 19:47:16 +01:00
5c6511b99f fix(deps): update module golang.org/x/crypto to v0.6.0 2023-02-09 17:30:29 +00:00
55d80c0ffb Merge pull request 'chore(deps): update dependency @sveltejs/adapter-auto to v2' (#29) from renovate/sveltejs-adapter-auto-2.x into master
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/29
2023-02-09 16:30:33 +00:00
aa5dd55331 Merge pull request 'fix(deps): update module golang.org/x/sys to v0.5.0' (#31) from renovate/golang.org-x-sys-0.x into master
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/31
2023-02-09 16:30:20 +00:00
e5aa88fa39 fix(deps): update module golang.org/x/sys to v0.5.0 2023-02-08 22:31:31 +00:00
39eca7a8fa chore(deps): update dependency @sveltejs/adapter-auto to v2 2023-02-06 16:30:29 +00:00
24b6783fc9 Merge pull request 'feat: save zonefile to permanent directory' (#28) from nds into master
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/28
2023-02-06 14:57:27 +00:00
12b219bf45 Small nitpicks
gitignore: add default zones directory
upload: fix typo in swagger docs
config: simplify default save location
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-06 14:39:08 +00:00
b8d4af58c8 adding sys.go and using /x/sys/unix for killing pomme, because syscall package is deprecated. Added small wrapper for killPomme(). 2023-02-06 14:39:08 +00:00
25229f9c81 removed unnecessary byte slice conversions 2023-02-06 14:39:08 +00:00
cf1071b389 remove rawFileName from Zone db schema as no longer necessary, removed not needed code, and documentation. Made tests work with new zone file route consolidation. 2023-02-06 14:39:08 +00:00
bca521eb4e wow woah, we don't need to save locally actually 2023-02-06 14:39:08 +00:00
f7f0a49512 update swagger docs 2023-02-06 14:39:08 +00:00
ae3e7a1ae6 capture error on defer, doc string, lint 2023-02-06 14:39:08 +00:00
92100e27a0 add fs.go to internal, make makeLocal do the majority of lifting for tmp and perm files, made save() call makeLocal 2023-02-06 14:39:08 +00:00
2426a8b393 turn into one route 2023-02-06 14:39:08 +00:00
a83ae1bff3 update sample config 2023-02-06 14:39:08 +00:00
a572f6841f remove tmp file after saving to permanent directory 2023-02-06 14:39:08 +00:00
08eab3e6cb lint 2023-02-06 14:39:08 +00:00
653670e6fa return error if file being saved to /tmp is empty 2023-02-06 14:39:08 +00:00
ae488eb7d2 add ndr interface for handling dns reqs, add zonedir to config, add /save route to save zfs to zonedir, fix make local, and other small changes 2023-02-06 14:39:08 +00:00
edaeecc54b
fix(vscode): set CWD properly when debugging
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-06 15:38:49 +01:00
7ba7592d54 Merge pull request 'feat: login page' (#25) from login-page into master
Reviewed-on: https://git.freecumextremist.com/grumbulon/pomme/pulls/25
2023-02-04 00:00:28 +00:00
1a97dc9172 disable server-side rendering
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-03 23:44:51 +00:00
5328d3f4ed fix build + fix lint
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-03 23:44:51 +00:00
49c46f9f72 redirect + error print + logout
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-03 23:44:51 +00:00
20cf03818d not needed either
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-02-03 23:44:51 +00:00