Commit Graph

3691 Commits

Author SHA1 Message Date
Kalle
6da896a617 Map Planner: Persist to IndexedDB 2023-01-15 22:12:01 +02:00
Kalle
ce7e757082 Image upload admin: Show unvalidated left count 2023-01-15 22:12:01 +02:00
Kalle
4de648972d Team Search: Fix horizontal overflowing with long team names 2023-01-15 22:12:01 +02:00
Kalle
9f25720f16 Team: Fix border around avatar being off 2023-01-15 22:12:01 +02:00
Kalle
7344002b42 Team page: Small mobile member card layout improvements 2023-01-15 22:12:01 +02:00
Kalle
d985eadb9a Plus Server suggestions visible for everyone 2023-01-15 22:12:01 +02:00
dependabot[bot]
ce9b8b0b85 Bump json5 from 2.2.1 to 2.2.3 in /discord-bot (#1206)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-15 21:57:44 +02:00
Kalle
c579d3e240 Remove background pattern from image
This caused a weird "border" on images.
+ It's kind of ugly when below transparent images.
Still some issues to solve when images don't load.
2023-01-15 16:53:36 +02:00
Kalle
7fab35a461 Fix seed script 2023-01-14 14:43:14 +02:00
Kalle
c9cd840e58 Persisted Plus Tier migration
This is basically 100% perf optimization
2023-01-14 14:24:58 +02:00
Kalle
946a287b96 Introduce getUserId and requireUserId
Idea is to avoid doing DB calls when all we need
is just the user's id.
2023-01-14 13:45:06 +02:00
Kalle
84e1868aa0 Remove unused code 2023-01-14 13:08:00 +02:00
Kalle
b35f5d9921 BuildCard: Bigger font size for user name / time 2023-01-14 12:16:55 +02:00
Kalle
87af222a10 Don't prefetch some pages with loader 2023-01-13 23:33:22 +02:00
Kalle
77c7ea7b22 Temporarily make assets URL point to digital ocean 2023-01-13 21:22:28 +02:00
Kalle
d652e76154 Various improvements 2023-01-13 21:18:07 +02:00
Kalle
54d4bbe308 SubmitButton for FormWithConfirm 2023-01-13 00:44:14 +02:00
Kalle
a88982e3ee Map Planner: Fix styles leaking to new text input 2023-01-13 00:41:45 +02:00
Kalle
c6381e02fb Validate image upload page 2023-01-13 00:03:05 +02:00
Kalle
64874497fb Team: More E2E tests 2023-01-12 21:40:32 +02:00
Kalle
bb2f844ec8 Fix dialog color in light mode 2023-01-12 21:02:31 +02:00
Kalle
3634b85422 Team: Manage roster tests + fixes 2023-01-12 20:57:22 +02:00
Kalle
e83943abb1 Team page: Initial tests 2023-01-12 00:57:37 +02:00
Kalle
c42011533b New flags CDN
The old one shut down. More context here
https://github.com/twitter/twemoji/issues/580
2023-01-11 21:04:20 +02:00
Kalle
959dccb474 Team fixes 2023-01-11 20:56:04 +02:00
Kalle
65bd4561e3 Teams: Add to nav 2023-01-11 09:59:23 +02:00
Kalle
9fecc35839 Upload image page 2023-01-10 00:06:24 +02:00
Kalle
e1863b328b Team: Search page 2023-01-08 12:05:55 +02:00
Kalle
2eca0b94c1 Team: Join page 2023-01-08 12:05:55 +02:00
William Lam
c8e707488b Implemented some dynamic background sizing & positioning calculations for the Map Planner (#1200)
* Implemented a relatively simple dynamic background sizing calculation for the Map Planner

* Moved useWindowsSize() hook usage near the top of Planner() function

* Removed some dead space above the background image

* Adjustments

* Added a *lot* of math to adjust image spawn location based on the background image size & position, which are based on the current window size & position
- Moved the background image stuff to its own React Hook, usePlannerBg()

* Fix Prettier issue

* Added another comment

* Fixed typing for the usePlannerBg hook
- Also improved comments & some variable names to be cleaner/more consistent

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-01-08 11:24:44 +02:00
dependabot[bot]
97bf942a8f Bump json5 from 1.0.1 to 1.0.2 (#1205)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 11:23:47 +02:00
Kalle
5f5b3eb01d Fix translation json problem 2023-01-07 11:13:28 +02:00
Kalle
6e630ab8e3 Add January's SR reward 2023-01-07 10:53:09 +02:00
Frederik
72f5c6186b Update Danish translation (#1204)
Fixed misspeling of the following line in the analyser.json file
-   "stat.category.subDef" #fixed a missspelling of "våben"
2023-01-06 23:43:51 +02:00
Kalle
1170dc0bd0 Team: Manage roster page 2023-01-06 16:33:37 +02:00
Kalle
8a3178413c Team: Delete team feature 2023-01-06 16:33:37 +02:00
Kalle
b922b54d5b Team: Leave feature 2023-01-06 16:33:37 +02:00
Kalle
7c72fb2057 Team page: Bio 2023-01-06 16:33:37 +02:00
Kalle
895acabda8 Handle user not existing -> 404 2023-01-06 16:33:37 +02:00
Kalle
e05a6b9559 Use views for image and team tables 2023-01-06 16:33:37 +02:00
Kalle
77de97a406 User page: Team info 2023-01-06 16:33:37 +02:00
Frederik
80c6f33c53 Update Danish translation (#1203)
Added the following translations to the common.json file.
plans.bgStyle.OVER
plans.bgStyle.MINI
plans.bgStyle.ITEMS
2023-01-06 16:27:07 +02:00
Sacha Ntolo
6b01a684ff Update French translation (#1201)
* Translated all the new lines and changed some previous translations

* Corrected error in common.json

Removed the line added by mistake in common.json

* Prettify

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2023-01-05 01:05:10 +02:00
Kalle
a1bbaffa42 Add badges 2023-01-05 00:49:07 +02:00
Kalle
9d74a79861 Team: Initial migration 2023-01-05 00:41:44 +02:00
Kalle
257b59ce8a Team: Clean up LUTI/Team XP 2023-01-04 23:09:27 +02:00
Kalle
9d9ffac6e9 Teams: Edit page 2023-01-04 23:03:46 +02:00
Kalle
077e2356ae Team: Fetch from DB 2023-01-02 21:59:58 +02:00
Kalle
0caa90756a User page: Redirect if trying to edit other page 2023-01-02 21:08:47 +02:00
Kalle
5a2c008461 Calendar: Fix no events at the start of year 2023-01-01 18:27:06 +02:00