Commit Graph

353 Commits

Author SHA1 Message Date
Jake Potrebic
2f9701d44f removed bootstrap from public folder
added bootstrap entrypoint
2020-09-29 18:34:44 +02:00
Jake Potrebic
0b2e3f2a2e fixed PlatformVersionTable.vue
remove vuetable-2 (unneeded)
added prettier config (if people like double quotes better, feel free to change it)
2020-09-29 18:34:44 +02:00
Jake Potrebic
dc277ad8ac vue 3
(easy enough to revert)

the vuetable component I was using for the platform choices no longer works w/vue 3

so we should just hang tight until bootstrap vue updates (according to their repo, they started updating to 3 this week)
2020-09-29 18:34:44 +02:00
Jake Potrebic
a0db9bf072 more cleanup 2020-09-29 18:34:44 +02:00
Jake Potrebic
4db1211a30 more things 2020-09-29 18:34:44 +02:00
Jake Potrebic
d86d0a3c82 clean up pom 2020-09-29 18:34:44 +02:00
Jake Potrebic
d125b8614f added hot reloading 2020-09-29 18:34:44 +02:00
MiniDigger
ce30231a84 you saw nothing!
Signed-off-by: MiniDigger <admin@minidigger.me>
2020-09-29 18:34:44 +02:00
MiniDigger
45be5d1dc2 start to refactor frontend build process 2020-09-29 18:34:44 +02:00
Jake Potrebic
8e148a82b4
External url for versions (#129)
* work

* significant progress

* some work

* some more work

* redirects & warnings

* safe host list

* external url download counter
2020-09-20 16:02:44 -07:00
Jake Potrebic
0946b4bb0f
Bootstrap v4 Migration (#132)
* started...

* some more

* work on home page

* more work

* and... even more

* put in jquery-ui tooltips for now to stop errors

we will replace that with some other tooltip library that doesn't require jQuery.

* added bootstrap bundle js/map

Needed for modal stuff
2020-09-18 11:13:22 -07:00
Jake Potrebic
0cb9344c06
fix query error 2020-09-17 09:12:21 -07:00
Jake Potrebic
aa393eb38f
enable fake user 2020-09-16 20:08:54 -07:00
Jake Potrebic
007dc2fec0
forgot to remove old setup 2020-09-16 12:56:13 -07:00
Jake Potrebic
5bf2d594c7
switched versions table to vue 2020-09-16 12:53:38 -07:00
Jake Potrebic
bb1a5b0fb9
version selector (#127)
* work on version selector

still needs feedback & work

* more work

* added page to add versions

* work on format

* changed fa icon
2020-09-14 18:12:04 -07:00
Jake Potrebic
c501281625
FlagReason values 2020-09-14 12:27:47 -07:00
Jake Potrebic
86240f98ed
fix issue with named/defined bindings 2020-09-11 17:25:48 -07:00
Dragonium
c4667267a2
Bug fixed with ProjectsApiDao (#126)
- Removed CategoryConverter.java because it has problems with single values (StringToEnumConverterFactory) already works well enough.
- Changed the queryStatement back to StringTemplate format so the text will get written in the query instead of it being 'true'.
- Shortened the 'countProjects' query, partially because there was an issue with the stared and watching statements, but it doesnt make that much sense to keep the rest too.
2020-09-11 10:56:37 -07:00
Jake Potrebic
64bbabc399
added db migrations 2020-09-10 12:17:56 -07:00
Jake Potrebic
d28141cfcb
Better formatted responses for api errors
Use HangarApiException for any thrown api errors.

Closes #117
2020-09-10 00:07:08 -07:00
Jake Potrebic
dadf445b13
more work on controller safety checks 2020-09-09 20:57:19 -07:00
Jake Potrebic
0ff4ff0687
expands logging capability
Closes #120
2020-09-09 20:33:44 -07:00
Jake Potrebic
8b53dc18a0
show user login on 404 pages 2020-09-09 16:18:51 -07:00
Jake Potrebic
f082360e0e
scheduled tasks 2020-09-08 19:27:19 -07:00
Jake Potrebic
cdb19e48c1
added a bunch of v1 api stuff 2020-09-07 12:01:12 -07:00
Jake Potrebic
62c72d3e94
permission handling done for all frontend routes 2020-09-07 01:08:15 -07:00
Jake Potrebic
2ea173189c
added OrganizationPermission annotation for route perms 2020-09-07 00:12:22 -07:00
Jake Potrebic
922ad37e15
role selection dropdown defaults to current role
Closes #119
2020-09-06 23:54:15 -07:00
Jake Potrebic
72f59628ca
bunch of random fixes 2020-09-06 23:12:10 -07:00
Jake Potrebic
0d549c7097
fixes for admin log 2020-09-06 22:47:58 -07:00
Jake Potrebic
47c66ea649
added project view counting 2020-09-06 22:34:26 -07:00
Jake Potrebic
c9e4d9575d
added version download counting 2020-09-06 22:13:42 -07:00
Jake Potrebic
97cef3416e
version visibility checks 2020-09-06 21:33:19 -07:00
Jake Potrebic
9560392516
implemented version hard delete 2020-09-06 19:03:38 -07:00
Jake Potrebic
c2184e7856
implemented user locking authentication 2020-09-06 18:42:57 -07:00
Jake Potrebic
5a89a45053
tiny fix for spel parsing 2020-09-06 18:39:36 -07:00
Jake Potrebic
58cb9f6429
Added UserLock annotation where required 2020-09-06 17:54:03 -07:00
Jake Potrebic
b14bf1bdfc
implemented UserLock annotation
has SPeL parsing for getting the args from the redirect from the method parameters
2020-09-06 17:38:10 -07:00
Jake Potrebic
2e596e7591
fully implemented ProjectPermission annotation
If error w/status code 401/403 and user is not logged in, they are redirected to login.
2020-09-06 15:30:17 -07:00
Jake Potrebic
10929c97e6
finished HeaderData 2020-09-06 15:28:13 -07:00
Jake Potrebic
41be95737e
switched to ProjectData supplier bean 2020-09-06 13:14:56 -07:00
Jake Potrebic
e10bcf2f4a
more conversion to beans 2020-09-06 12:28:58 -07:00
Jake Potrebic
44681dc302
began implementing Request-Scoped beans (#123)
* example

* switched to copy constructor

* switched to Supplier

* expanded example
2020-09-06 10:16:59 -07:00
Jake Potrebic
e92a68fb3a
remove confirm cookie on unsafe dwnload 2020-09-05 11:51:11 -07:00
Jake Potrebic
67a04661b6
download confirmations 2020-09-05 11:38:46 -07:00
KennyTV
3b6d2cc185
Fix route test 2020-09-05 15:30:32 +02:00
KennyTV
f82a8bdaee
Route constants, add helper method for redirects
Closes #105
2020-09-05 15:17:51 +02:00
Jake Potrebic
ce21e8215a
added /statusz route 2020-09-05 05:48:26 -07:00
Jake Potrebic
562ee62e0c
removed /pantopticon/* routes 2020-09-05 05:24:27 -07:00