Skip to content

Librusek v1.2.0 - #68

Merged
SimonB50 merged 23 commits into
releasefrom
main
Aug 28, 2025
Merged

SimonB50 merged 23 commits into
releasefrom
main

Conversation

@SimonB50

Copy link
Copy Markdown
Owner

New version of Librusek mobile app.

SimonB50 and others added 23 commits April 21, 2025 15:34
This commit introduces Polish (pl) as a supported language.

Key changes:
- Added "pl" to the `locales` array in `next-i18next.config.js`.
- Created a new `public/locales/pl` directory.
- Copied English translation files from `public/locales/en` to `public/locales/pl`.
- Translated all JSON files within `public/locales/pl` to Polish.
- Adjusts mailbox button position and style:
  Moves the change mailbox button below the mailbox name and applies
  a less prominent style (btn-primary btn-outline).
  This improves the UI, especially on narrower screens.

- Adjusts message receivers display due to API change:
  Updates the MessageReceivers component to handle changes in the API
  response where detailed recipient info might be missing.
  The component now checks if the `receivers` array is empty or not an
  array, displaying a "Me" badge in such cases.

- Adds 'me' translation key to localization files.
- Adjusts mailbox header layout, button position, and style:
  Stacks the "Messages" title, mailbox type, and switch button
  vertically. The button is styled with 'btn-primary btn-outline'.
  This improves the UI, especially on narrower screens.

- Adjusts message receivers display due to API change:
  Updates the MessageReceivers component to handle changes in the API
  response where detailed recipient info might be missing.
  The component now checks if the `receivers` array is empty or not an
  array, displaying a "Me" badge.

- Moves 'me' translation key from 'common' to 'messages' namespace
  and updates `useTranslation` hook in MessageReceivers.
…rs-api-change

refactor: Update messages UI, receivers logic, and translations
Corrected regex for newline replacement in decodeAndCleanHtml.
Enhanced HTML sanitization by allowing target and rel attributes on links.
Added target="_blank" and rel="noopener noreferrer" to external links for better security.
Bumps the npm_and_yarn group with 2 updates in the / directory: [formidable](https://github.com/node-formidable/formidable) and [tmp](https://github.com/raszi/node-tmp).


Updates `formidable` from 3.5.2 to 3.5.4
- [Release notes](https://github.com/node-formidable/formidable/releases)
- [Changelog](https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md)
- [Commits](https://github.com/node-formidable/formidable/commits)

Updates `tmp` from 0.2.3 to 0.2.5
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](raszi/node-tmp@v0.2.3...v0.2.5)

---
updated-dependencies:
- dependency-name: formidable
  dependency-version: 3.5.4
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: tmp
  dependency-version: 0.2.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
- Added fallback for requests with selectors
- Fixes for grades display
- Fixes for attendance subject list
- Added check for updater
- Updated translations
…-divider

refactor: Improve message divider logic in utils.js
…yarn-32a7f03143

Bump the npm_and_yarn group across 1 directory with 2 updates
@github-advanced-security

Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@SimonB50
SimonB50 merged commit 7aea9a3 into release Aug 28, 2025
3 checks passed
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