Skip to content

Conversation

@TurtIeSocks
Copy link
Collaborator

No description provided.

TurtIeSocks and others added 30 commits October 7, 2022 00:56
- Allow custom user fields to be added and saved in the user table
- Data json column handles the data dynamically
- Includes migration
- Dynamically creates TextField inputs on the profile page for any number of fields you add to your config
- Can be formatted as an array of strings or array of objects
- If you use a string, the string is used as the name that is displayed and saved in the db json
- If you use objects, you have extra customization:
- You can have different locales displayed, use the locales as the keys and the display name as the value
- Use the `name` key as the fallback for any missing locales
- Use the `database` key as the key that will be saved in the database json
Files changed:\nM	server/src/configs/custom-environment-variables.json
- Cleanup some eslint rules
- Lint some various jsons
- Convert all `.mjs` files back to standard `.js` files for less PM2 headaches in the long run
- Keep `ReactMap.mjs` as a polyfill with a deprecation warning after version 1.8.0
- Set all Location icons to the crosshairs style
- Cleanup old vscode extensions
- Format on save
- Move scan dialog into its own component
- Move constants out of ScanNextTarget fn
- Wrap a lot of state changes in useEffects to control renders
- Consolidate repeat functions
- Consolidate repeat dialog
- Consolidate ScanNext and ScanZone components into one reusable component
- Cleanup backend code to use more general variables
-
- Use styled components instead of theme overrides
- Remove unnecessary Slider props and use React Children instead of passing a block prop
- Disable other map markers when ScanZone popup is open, something is not right when any other markers are activated that can cause the server to get hammered.
- Allows admins to fetch their config so they can see the full config after the merges and mutations have been applied
- Configurable options to include the schemas and authentication strategies for security reasons
- Minor change in sessionStore.js to allow running the map server without any db connections
Files changed:\nM	server/src/configs/custom-environment-variables.json
- For some reason I needed to move the holiday-canvas div to the html template instead of in React...
- Reported by @ReuschelCGN
- Also lints html/css files, oops
- Rude config change, `holidayEffects` is now an array of objects instead of an object with bool properties
  - name (does nothing other than label in config): string
  - enabled: boolean
  - images: string[]
  - css: 'snow' | 'fireworks'
  - startDay: int
  - startMonth: int
  - endDay: int
  - startDay: int
- Enables any amount of images to be put into the effects as well as any amount of custom holiday effects
Files changed:\nM	server/src/configs/custom-environment-variables.json
Machine generated locales
TurtIeSocks and others added 25 commits October 13, 2022 18:07
Co-Authored-By: Jakub <10072920+lenisko@users.noreply.github.com>
Not really sure what was going on here...
- Version bump
- Add thumbnailUrl to discord strategy object
- pass full req.user to scanner api
- Initialize strategies in a separate file for dynamically collecting all clients
- Rudimentary cache for storing # of requests for users in a given day
- Log to the same channel as authentication reqs
- Remove unused accessToken arg
- Save logChanneld in the class instance
- Remove user info from frontend, collect from request instead
- REQUIRES ADJUSTMENTS IF YOU USE A CUSTOM STRATEGY
- Allow separate channels
- Some embed changes
- GH link in log message for old auth strategies
Co-Authored-By: bbdoc <23477802+bbdoc@users.noreply.github.com>
- Create unique area keys if an area has a parent, allowing areas of the same name that have different parents
- *Should* be backwards compatible with existing system / currently logged in users
- If you have multiple areas with the same names and want to use `areaRestrictions`, using only the area name will give permissions to every area with that name, to restrict by parent and area name you must use the format `parent-area` in the `areas` array in `areaRestrictions
- Sort parents alphabetically
- Adds a reference file that holds the character count of the default.json of the current commit
- Checks on startup to see if the character count matches
- Should catch the large majority of instances where someone edits the default.json
- GH action for automating the check
- Add locale selection to loginPage/donationPage/motd
- Set type = "localeSelection" in the config
@TurtIeSocks TurtIeSocks merged commit 91f699f into main Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants