Commit Graph

756 Commits

Author SHA1 Message Date
James Read 9117163316
bugfix: Login form was not displayed if only OAuth2 was configured (#457)
* bugfix: Login form was not displayed if only OAuth2 was configured

* bugfix: npe in AuthOAuth2Provider

* test: Try and fix flakey tests
2024-10-27 08:56:28 +00:00
James Read d3ad811ac5
bugfix: Removed hardcoded dependency on GitHub in OAuth2 flow (#458) 2024-10-26 22:30:08 +00:00
James Read ee26fe6b50
ci github int tests settle (#459)
* ci: Allow more time for GitHub tests to settle

* ci: Run build-snapshot on any push, but dont dupe with PR
2024-10-26 22:10:33 +00:00
James Read 2950b59514
cicd: Devskim actions upgrade (#456) 2024-10-25 13:44:08 +00:00
James Read be5ddda020
feature: freebsd support (#454) 2024-10-23 12:52:25 +00:00
James Read 16b07283b0
feature: Add riscv build! (#453) 2024-10-23 10:54:43 +00:00
jamesread d7814ff6df bugfix: If a button is disabled in the API, render it disabled [skip ci] 2024-10-20 23:03:10 +01:00
James Read be9b2a7c78
bugfix: Cookie expiry for OAuth2 & Local set to 1 year, not session (#451) 2024-10-20 21:58:12 +00:00
James Read 80e5b5b0c1
feature: Cleanup auth code (#444) 2024-10-19 19:33:27 +00:00
James Read 0283b51eca
feature: Login/Logout links (#443)
* feature: Login/Logout links

* cicd: codestyle
2024-10-19 07:49:41 +00:00
jamesread 1af2e92132 feature: Local user login! 2024-10-18 01:20:04 +01:00
James Read 71ad5d2e3a
feature: local auth! (#441)
* feature: local auth!

* cicd: contentLogin -> content-login

* bugfix: CSS codestyle
2024-10-17 13:23:01 +00:00
James Read 32b5fee108
bugfix: Fixed crash when requesting execution status that could not be found (NPE) (#440) 2024-10-15 10:48:55 +00:00
James Read de81ec00fd
feature: mix of bits (#439)
* feature: mix of bits

* bugfix: codestyle
2024-10-15 07:47:51 +00:00
Simon Dahlbacka 7cc07158ab
bugfix: Turns out this should now be 403 instead (#438) 2024-10-14 13:53:23 +00:00
jamesread 3b8976fd51 feature: Login screen 2024-10-14 09:26:33 +01:00
jamesread fb7e650267 feature: OAuth2 Redirect URL 2024-10-14 09:25:21 +01:00
jamesread 6a7187fb5b feature: OAuth2! :-D 2024-10-14 09:25:21 +01:00
James Read b31cdf15a2
feature: Email argument type (#433)
* feature: Email argument type

* bugfix: Fix error if additional links is null
2024-10-13 18:40:16 +00:00
jamesread 6e0e0e8133 cicd: cleanup console log 2024-10-13 01:10:47 +01:00
jamesread 706441799f feature: Custom navigation links in the nav (sidebar/topbar) 2024-10-13 00:35:47 +01:00
jamesread 0b66bc7bbd cicd: Labels on issue templates [skip ci] 2024-10-13 00:35:28 +01:00
jamesread 86e876a9c9 Merge branch 'main' of ssh://github.com/OliveTin/OliveTin 2024-10-12 23:18:29 +01:00
jamesread 8b33061bbb cicd: Remove unused Jenkinsfile 2024-10-12 23:15:06 +01:00
James Read 411f1bff1c
feature: Style the currently selected section in nav, and few minor style improvements (#429)
* feature: Style the currently selected section in nav, and few minor style improvements

* bugfix: No unit on 0 length
2024-10-12 21:45:26 +00:00
James Read eee4c4e404
bugfix: Auth in the wrong place (#430) 2024-10-12 21:14:09 +00:00
James Read a187c8c8a0
feature: Slightly nicer looking logs and diagnostics pages (#427) 2024-10-11 17:40:40 +00:00
Simon Dahlbacka 35dca50863
Make it possible to redirect to a login url unless authenticated (#347)
* feature: Try to navigate to UrlOnUnauthenticated if set and not authenticated

* refactor: use better naming

* feature: default to allow guest
2024-10-11 17:36:31 +00:00
Simon Dahlbacka 00856f15a7
feature: pass ot_ args to shellAfterCompleted (#420)
* feature: pass ot_ args to shellAfterCompleted

* refactor: Implement this the right way

---------

Co-authored-by: James Read <contact@jread.com>
2024-10-11 14:59:02 +00:00
James Read d1c67a9dd8
depbump: js micromatch 4.0.8 (#426) 2024-10-10 23:38:35 +00:00
James Read 6c289506c2
bugfix: Fixed unusual issues that slipped through with shellAfterCompleted (#425)
* bugfix: Fixed unusual issues that slipped through with shellAfterCompleted #419 #420

* cicd: Fix broken style lint
2024-10-10 23:15:03 +00:00
James Read 5d82ae7680
feature: Log username with each request #422 (#424) 2024-10-10 20:50:47 +00:00
James Read 9737886839
feature: Better websocket error message (#417) 2024-10-02 00:19:49 +00:00
James Read 1d9502d800
Feature better 404s (#416)
* feature: CSS on actions

* feature: Less crashes when things are not found
2024-10-01 23:21:37 +00:00
James Read c0a18f82a5
feature: Link to log outputs (#415) 2024-10-01 23:17:09 +00:00
jamesread 9723a38ca1 bugfix: Crash on trying to start a non-existant action from the API 2024-10-01 21:19:17 +01:00
James Read 8258a758d2
bugfix: Dashboards with multiple spaces in the name could not be navigated properly (#408) 2024-09-16 22:36:40 +00:00
James Read 044613ae9a
bugfix: Null action map, causing crash on startup actions (#407) 2024-09-11 16:19:52 +00:00
James Read 76c9171356
feature: Add OT_ vars to each execution (#406) 2024-09-10 22:52:46 +00:00
James Read f8c330aae3
feature: Better feedback on shellAfterCommand, and mark OliveTin specific output with "OliveTin::" in logs (#403) 2024-09-02 22:59:19 +00:00
jamesread d4bd7dd586 doc: shellAfterCompleted should use `output`, not `stdout` [skip ci] 2024-09-02 21:14:34 +01:00
Mitch Brown fa20f6a63a Fixed typo 2024-09-01 00:22:45 +01:00
James Read b9ce695616
feature: Nicer default colors (catpuccin/frappe (#395) 2024-08-30 20:48:17 +00:00
James Read 3f1dbf1130
bugfix: System users can now be used in ACLs (#396) 2024-08-30 20:48:07 +00:00
James Read 6413e51cf5
feature: Exec permission denied now marks the action as "blocked" and adds a log message. Timeouts also add a documentation link to the command output. Tags always set. (#398) 2024-08-30 20:36:13 +00:00
James Read defcf6d26e
fmt: Rebuilt ACL code to have less boilerplate (#397) 2024-08-30 20:30:44 +00:00
James Read 2671983c43
bugfix: Execution dialog duration no longer has issues displaying actions that were never started. (#394) 2024-08-30 20:28:27 +00:00
James Read dc9653307b
feature: Logs, column for tag, and left align status. Stop nav flash (#393) 2024-08-30 20:28:12 +00:00
jamesread eb91eb33d5 bugfix: Log for http request mangling changed to DEBUG level 2024-08-30 21:27:56 +01:00
James Read ddb803d9b5
feature: Sidebar hiding now pure CSS & theme reloading for devs (#391) 2024-08-25 23:47:43 +00:00