Commit Graph

715 Commits

Author SHA1 Message Date
MiniDigger | Martin
256bda559d fix(frontend): make handleRequestError return ref so make typing easier 2022-11-20 11:00:10 +01:00
Jake Potrebic
6ba7d98079
more type fixes 2022-11-19 21:45:07 -08:00
Jake Potrebic
866e15a6b5
some typescript typing fixes 2022-11-19 18:17:19 -08:00
MiniDigger | Martin
a10eda3cf9 fix(frontend): fix sponsor message not visually updating the first time, fixes #1029 2022-11-19 16:13:31 +01:00
MiniDigger | Martin
05fd045edb fix(frontend): some dark mode color tweaks (#706) 2022-11-08 21:59:56 +01:00
MiniDigger | Martin
ffe97d0908 fix(frontend): make nav links larger (#706) 2022-11-08 21:28:29 +01:00
MiniDigger | Martin
89513bfdd5 fix(frontend): link project name in project header to project index page (#706) 2022-11-08 21:21:23 +01:00
MiniDigger | Martin
a6cd577925 fix(frontend): don't auto-quote blockquotes (#706) 2022-11-08 21:15:48 +01:00
Lachlan
956ce62994
feat: add agpl as a license option (#1012)
Co-authored-by: MiniDigger | Martin <admin@benndorf.dev>
2022-11-08 20:43:33 +01:00
renovate[bot]
b1be7534b8
chore(deps): update frontend non-major dependencies (#1007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-08 19:12:56 +01:00
Jake Potrebic
2961f589c5
make pre-commit script executable 2022-11-06 15:47:36 -08:00
MiniDigger | Martin
62968faf50 feat(backed): add simple fake data generation 2022-11-06 22:31:56 +01:00
MiniDigger | Martin
d65514cd0e chore(db): flatten migrations and rename repeatables in order 2022-11-06 20:31:49 +01:00
MiniDigger | Martin
4e156bf598 feat: server side pagination, fixes #828, #833 2022-11-05 17:00:38 +01:00
MiniDigger | Martin
8919c48f31 feat: add version page 2022-11-05 12:22:53 +01:00
renovate[bot]
3bc9df8afe
fix(deps): update frontend non-major dependencies (#1006)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-05 10:07:33 +01:00
renovate[bot]
63d9cee564
chore(deps): update frontend non-major dependencies (#994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: MiniDigger | Martin <admin@benndorf.dev>
2022-10-31 15:55:45 +01:00
MiniDigger | Martin
b229a34787 chore: move notifications to lib 2022-10-31 10:48:06 +01:00
MiniDigger | Martin
fa67cb8eae fix build 2022-10-03 11:16:15 +02:00
MiniDigger | Martin
92bb658be7 update deps 2022-10-03 11:03:52 +02:00
MiniDigger | Martin
fa77e0d51e downgrade pwa, fix filesize import 2022-10-01 11:46:11 +02:00
MiniDigger | Martin
4b7ec5ab21 update deps 2022-10-01 11:34:05 +02:00
MiniDigger | Martin
b87e703a95 update deps 2022-09-26 11:45:05 +02:00
MiniDigger | Martin
7f5ec0913a update deps 2022-09-19 18:23:01 +02:00
MiniDigger | Martin
de5c3f29c8 update deps 2022-09-12 20:18:43 +02:00
MiniDigger | Martin
8911b6acf9 configure new staging and prod 2022-09-11 21:25:40 +02:00
MiniDigger | Martin
c3b9a89ec3 use proper syntax for reading server sid env var 2022-09-03 17:39:45 +02:00
MiniDigger | Martin
05322f69fa read frontend env vars from dictionary instead 2022-09-03 14:00:59 +02:00
MiniDigger | Martin
cea1791339 more dep updates 2022-09-02 20:10:31 +02:00
MiniDigger | Martin
5edb561296 big cleanup, move backend into folder, write new helm charts, update deps, cleanup workflows 2022-09-02 19:56:41 +02:00
MiniDigger | Martin
68945ccd0d update deps 2022-09-02 19:56:41 +02:00
MiniDigger | Martin
ebe04a3dd5 move downloads from UI to the cdn 2022-09-02 19:56:41 +02:00
Nassim Jahnke
e636364acd Update HangarLib 2022-09-02 19:56:41 +02:00
Nassim Jahnke
0ed89f2f25 Check up controller perms, cache backend data responses 2022-09-02 19:56:41 +02:00
Nassim Jahnke
d86db2e202 Fixes 2022-09-02 19:56:41 +02:00
Nassim Jahnke
b8eb705226 Allow deletion of organizations
Closes #803
2022-09-02 19:56:41 +02:00
Nassim Jahnke
5d5a941926 Update HangarLib 2022-09-02 19:56:41 +02:00
Nassim Jahnke
369f9b76df Finish preloading stuff 2022-09-02 19:56:41 +02:00
Nassim Jahnke
0c893e061b Readd preloading of previous version 2022-09-02 19:56:41 +02:00
Nassim Jahnke
b628a9afbd Allow org transfer (half tested) 2022-09-02 19:56:41 +02:00
Nassim Jahnke
15a3111659 Add project to user transfer (half tested)
Missing organization to user and project to organization
2022-09-02 19:56:41 +02:00
Nassim Jahnke
a91c8f684a Let you leave org/project
Closes #806
2022-09-02 19:56:41 +02:00
Nassim Jahnke
ce91b3998b Add basic dependency validation on version creation 2022-09-02 19:56:41 +02:00
Nassim Jahnke
9cfc4e0333 Fix lots of dependency update issues on frontend/backend
add toggle to show the password, add validation for email and password, closes (#108)
2022-09-02 19:56:41 +02:00
Nassim Jahnke
861c827643 Add more info text to version creation 2022-09-02 19:56:41 +02:00
Nassim Jahnke
ca2b308dca Remove skip review queue channel flag 2022-09-02 19:56:41 +02:00
Nassim Jahnke
9b0fc6380a Fix remaining issues 2022-09-02 19:56:41 +02:00
Nassim Jahnke
725bd46c51 Version uploading works 2022-09-02 19:56:41 +02:00
Nassim Jahnke
05c304bbcd WIP make version string unique, allow file per platform in one version
DB queries are pretty rough, uploading a file is broken, and parts of the frontend upload process aren't finished
2022-09-02 19:56:41 +02:00
Noah van der Aa
79ad208e92
Fix typo in resource guidelines (#862) 2022-08-19 11:15:02 +02:00
MiniDigger | Martin
570923af21 update deps 2022-08-01 18:37:22 +02:00
MiniDigger | Martin
66393fda73 tons of seo improvements (#798) 2022-07-31 15:18:53 +02:00
MiniDigger | Martin
5e57fa0a0e allow trusting domains in linkout, closes #810 2022-07-31 11:53:07 +02:00
Bjarne Koll
e540405d86
Ensure that the new page modal is closed (#807) 2022-07-30 20:27:20 +02:00
MiniDigger | Martin
22dda95c50 make sure breadcrumbs are valid and generated exactly once 2022-07-30 18:36:50 +02:00
MiniDigger | Martin
10fa501863 rework pages path parsing 2022-07-30 17:48:57 +02:00
Bjarne Koll
c0e09345d1
Update fetched project page tree on mutation (#804) 2022-07-30 15:53:37 +02:00
MiniDigger | Martin
349d57f1b5 also forward headers for not logged in... 2022-07-30 15:30:37 +02:00
MiniDigger | Martin
3a69b4c91d forward headers from ssr to backend + cache backend stuff on request 2022-07-30 15:04:49 +02:00
MiniDigger | Martin
809b2e23c4 clean up stats cookie handling 2022-07-30 13:23:10 +02:00
Bjarne Koll
451056ce1e
Remove invalid versions when filtering platforms (#801) 2022-07-29 23:31:57 +02:00
MiniDigger | Martin
7df891b2a4 make sure useHead automatically updates dark mode classes 2022-07-29 21:59:17 +02:00
MiniDigger | Martin
7019655447 clean up env vars 2022-07-28 21:10:20 +02:00
MiniDigger | Martin
158fb26003 update lib 2022-07-28 17:28:06 +02:00
MiniDigger | Martin
3aa32dc9e4 use router.replace over router.push for error redirects, closes #794 2022-07-28 17:27:43 +02:00
MiniDigger | Martin
c73a02ef8e include params in useApiHelper keys, fixes #793 2022-07-28 17:08:36 +02:00
MiniDigger | Martin
c8eb30c46b fix logo size on client side render
why this works on the server, nobody knows
2022-07-28 16:19:01 +02:00
MiniDigger | Martin
056fd146b8 always try to refresh if we have no token but a refresh token in ssr 2022-07-28 16:15:29 +02:00
MiniDigger | Martin
b9e16ef57e post id is on project version, not channel....
> Caused by: org.postgresql.util.PSQLException: ERROR: column pc.post_id does not exist
    Hint: Perhaps you meant to reference the column "pv.post_id" or the column "p.post_id".
mfw postgres is 2 smart 4 me
2022-07-28 14:01:49 +02:00
MiniDigger | Martin
f1247e8583 let cropper downscale the image before uploading 2022-07-28 11:45:45 +02:00
MiniDigger | Martin
423f505d34 set logo size without css to avoid layout shift 2022-07-27 17:15:43 +02:00
MiniDigger | Martin
3a11efdc89 add a few aria labels to make google (and blind people) happy 2022-07-27 17:12:37 +02:00
MiniDigger | Martin
9de4e57e00 remove the remaining auth "errors" when anon
hope you are happy now google
2022-07-27 16:57:23 +02:00
MiniDigger | Martin
81f125bbf9 we can only detect the missing refresh token on the server 🤦‍♂️ 2022-07-27 16:24:04 +02:00
MiniDigger | Martin
3065e77aa6 save settings by username 2022-07-27 16:18:11 +02:00
MiniDigger | Martin
d089a898b7 refactor theme to use cookie and put it into lib 2022-07-27 14:38:02 +02:00
Nassim Jahnke
1e76fbff8f
Small fixes 2022-07-26 21:00:55 +02:00
MiniDigger | Martin
a595640c48 !important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
!important
2022-07-26 20:27:22 +02:00
Nassim Jahnke
8f5f0d1137
Use Popper for proper dropdown placement 2022-07-26 20:10:22 +02:00
Nassim Jahnke
9e442802e1
Things 2022-07-26 18:53:04 +02:00
MiniDigger | Martin
de484d6695 move styles to lib 2022-07-26 17:37:44 +02:00
Nassim Jahnke
459f739082
Add popoveritem 2022-07-26 17:20:40 +02:00
Nassim Jahnke
f39a64e9fe
Use popover instead of menu in certain cases to manually close 2022-07-26 17:20:07 +02:00
Nassim Jahnke
a0b6bf6d03
Improve version list, add subtle border to project and version card 2022-07-26 14:45:05 +02:00
Nassim Jahnke
8d3311524f
Hack in better dependency modal validation 2022-07-26 13:28:53 +02:00
Nassim Jahnke
90548d8ee0
Update HangarLib 2022-07-26 12:17:30 +02:00
MiniDigger | Martin
f4e271b0c1 reeee intellij 2022-07-26 11:49:02 +02:00
MiniDigger | Martin
57a5cb2018 recalc pagination if needed, closes #795 2022-07-26 11:47:35 +02:00
Nassim Jahnke
4211f214c8
Remove create new project/org from nav menu when not logged in 2022-07-26 11:46:42 +02:00
Nassim Jahnke
9e3cedc100
Fix sortabletable pagination, improve useradmin page
Fixes #797
2022-07-26 11:10:40 +02:00
MiniDigger | Martin
9773e826a2 load swagger from cdn (#749) 2022-07-26 11:09:13 +02:00
Nassim Jahnke
1cd699017a
Fix CME when getting roles 2022-07-26 10:28:58 +02:00
MiniDigger | Martin
b14ed490f0 try to preoptimize swagger in order to fix it on staging (#749) 2022-07-26 10:01:13 +02:00
MiniDigger | Martin
99bf226b34 try to be less spamming about expected auth failures, closes #765 2022-07-26 09:38:59 +02:00
Nassim Jahnke
b94de32b94
Improve safe host check
Previously you could just have a host called "epapermc.io" and it'd be safe because it ends with "papermc.io"
2022-07-25 21:17:42 +02:00
Owen
0373b5345d
Disable role selector buttons when no role is selected (#792) 2022-07-25 21:05:24 +02:00
MiniDigger | Martin
ed06e1a301 update deps 2022-07-25 15:02:31 +02:00
Nassim Jahnke
81cf2a0ca7
Move version formatting away from frontend again
While this is mostly to just fix Safari and other old browser not supporting regex lookbacks, having this code in JS was pretty disgusting anyways and people might appreciate having the versions already formatted in API returned objects.
2022-07-25 10:21:35 +02:00
Bjarne Koll
b74b10394e
Properly scroll to linked element if present (#776) 2022-07-24 14:05:18 +02:00
Nassim Jahnke
50ecd9deda
Fix pinned version download button 2022-07-24 13:25:37 +02:00