Commit Graph

3686 Commits

Author SHA1 Message Date
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
William Lam
e19ee86ae9
Ranked Modes checkboxes are now checked by default when making a new build (#1199)
* Ranked Modes checkboxes are now checked by default when making a new build

* Fixed the actual logic when taking older builds into account

* Added comment that references Issue 1150

* Rearranged type order so it reads better
2023-01-01 13:36:50 +02:00
Frederik
6acb5cc9c2
Update Danish translation (#1198)
* Added Danish translations for Analyzer.json

Added Danish translations in the Analuzer.json files for the following lines.

damage.SPLATANA_VERTICAL_DIRECT
damage.SPLATANA_VERTICAL
damage.SPLATANA_HORIZONTAL_DIRECT
damage.SPLATANA_HORIZONTAL

* Updated Danish Translations in common.json

Updated and changed translations in the common.json file

Added following translations
pages.u
plans.blueprint
plans.noImg

Changed following translations
- pages.builds (changed to a shorter name to avoid cluttering on the main page)
- pages.analyzer (changed to a shorter name to avoid clutting on the main page)
- pages.plans (changed to a shorter name to make in order to make all pages names shorter)
- pages.object-damage-calculator (changed to a shorter name to avoid cluttering on the main page. This is a wierd translation, so it might be changed in the future)

* Added Danish translations to contributions.json

Added the folloing line to the contributions.json file
-yaga

changed the translation for the following line
- borzoic (changed a word, to make the translation more correct)

* Added Danish translations for the faq.json file

Added Danish translations for the faq.json file.

The following lines have been added
q5
a5
q6
a6

* Added DAnish translations for the user.json file

The following lines have been translated in the user.json file

search.info
search.noResults

* Added Danish translations for analyser.json

Added Danish translations for the following lines in the analyzer.json file
- "stat.humanoidFormInkRecoverySeconds"
- "stat.swimSpeedHoldingRainmaker"

Changed Danish translations for 
-  "stat.squidFormInkRecoverySeconds" # Changed made so the translation match the translation for  "stat.humanoidFormInkRecoverySeconds"

* Added Danish translations in the common.json file

Added Danish translations for the following lines in the common.json file
- weapon.category.subs
-weapon.category.specials

The following lines have been altered.
all "weapon.category." lines.
- Removed the English names for the categories in order to avoid too much cluttering in the planner tool.

* Added Danish Translations for User.json

Fhe folloing Danish translations were added to the User.json file.

- weaponPool
- discordExplanation
- forms.errors.maxWeapons

* Added Danish Translations for team.json

All added translations are direct translations or not translated, as their are no official Danish translations for these roles and in order reduce the likelyhood of misunderstandings.
2022-12-31 17:57:56 +02:00
Kalle
5ce7f35d4b Team: mobile layout 2022-12-31 17:57:10 +02:00
Kalle
aefefc26a3 Team: Banner placeholder when no image set 2022-12-30 23:21:37 +02:00
Kalle
da020e8557 Map Planner: Fancy backgrounds 2022-12-29 21:49:21 +02:00