Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V3 beta #283

Merged
merged 36 commits into from
Oct 29, 2023
Merged

V3 beta #283

merged 36 commits into from
Oct 29, 2023

Conversation

realashleybailey
Copy link
Contributor

No description provided.

realashleybailey and others added 30 commits October 19, 2023 01:43
Update release branch check in release workflow
Refactor release.yml workflow to use "master_branch" instead of "main…
- Removed commented out code for "expires" and "duration" fields
- Added "created" field with current UTC time
- Created invitation in the database with the updated invitation object

refactor(UserItem): Refactor user item component

- Removed unused imports and variables
- Replaced concatenated strings with template literals for profile picture URLs
- Updated button text localization keys
- Removed unused method "getProfilePicture"
- Updated "viewUser" method to use the server URL from the settings
- Refactored the "localDeleteUser" method
This commit introduces a code change that adds support for syncing users from a Jellyfin media server. Previously, users were only synced from Plex servers. With this change, the `global_sync_users_to_media_server` and `global_get_user_profile_picture` functions now check for the server type and invoke the respective functions for syncing and retrieving user information based on the server type.

The code in the `global_invite_user_to_media_server` function was also updated to include the creation timestamp when adding a new user to the database.

---

chore: Update Docker images with additional packages

This commit updates the Dockerfiles for the backend, frontend, and CI containers. The `wizarr-backend`, `wizarr-frontend`, and `wizarr-ci` containers now include the `figlet` package in addition to the existing packages. The `figlet` package is necessary for generating ASCII art in certain components of the application.

The `wizarr` container was also updated to include the `figlet` package.
…ability

The commit introduces the following changes:
- Added import statement for `get_requests` in `server_api.py`
- Implemented `get_requests` function in `requests.py` to retrieve request data from the database and remove disallowed keys
The commit message has a short description followed by a more detailed description.
- Simplify the template structure by removing unnecessary div elements.
- Remove redundant classes and styles from the template.
- Remove unused imports and interfaces.
- Update the props structure for better type checking.
- Optimize the methods for calculating carousel height.
- Add event listeners for window resize and transitions.
- Refactored the styling of the Discord component by updating the background color and scrollbar styles.
- Updated the usage of translation strings to use double underscores and added localization for the "Members Online" and "Join our Discord" strings.
- Removed the unused guild and invite data properties.
- Added the "useServerStore" and "mapState" imports for managing the server settings.
- Added a try-catch block for handling errors when loading the Discord Widget API.
- Updated the "loadWidgetAPI" method to use the server's Discord ID from the state.
- Adjusted the switch case in the "statusColor" method to use double quotes for consistency.
- Simplified the template structure by removing unnecessary line breaks and indentation.
- Removed unnecessary imports and optimized import statements.
- Renamed the component from 'Download' to "Download" for consistency.
- Updated the asynchronous imports for 'PlexDownload' and 'JellyfinDownload' components.
This commit adds the Request component to the help module. The component displays information about the automatic media request feature and its benefits. It also includes a button to open a modal for selecting a request server.
This commit adds a new file `RequestsList.vue` which defines the `RequestsList` component. This component displays a list of requests with their names and icons. Each request item also has a button to open the request URL in a new tab. The component uses the `ListItem` component to render each request item. The requests and their icons are loaded dynamically using the `requestURLS` prop.
- Adds a new section with information on how to watch stuff using Jellyfin.
- Improves the visual layout by using flexbox for better spacing between sections.
- Add imports and computed property to dynamically render views on the Help page.
- Include the Discord view if the server discord ID is provided.
- Include the Request view if there are any requests available.
- Views are fetched from the Carousel component props.
…sistency.

- Remove unnecessary line breaks and indentation from template code.
- Update string interpolation syntax in template.
- Use single quotes for import statements and remove unnecessary line breaks.
- Clean up variable and method names for better clarity.
…tton styling.

- Shortens button markup by removing unnecessary classes.
- Replaces double quotes with single quotes for consistency.
- Uses template literal to import SVG icon dynamically.

This commit refactors the RequestsItem.vue component to optimize code and improve button styling. Changes include shortening button markup by removing unnecessary classes, replacing double quotes with single quotes for consistency, and using a template literal to import SVG icon dynamically.
This commit refactors the modal.ts file to enhance the flexibility and usability of the code. It introduces a new "props" property in the CustomModalOptions interface, allowing for the passing of additional properties to modals. This change improves the modularity and customization options of the modal component.
This commit adds debug logging to display the attributes of ModalWrapper in the console when the code is running in development mode. This helps with debugging any issues related to the attributes passed to ModalWrapper.
- Removed unnecessary imports and improved code formatting.
- Updated the Sentry integration configuration to use the latest syntax.
- Added error logging and toast notifications for detected errors.
- Improved error message handling and displayed toast messages for better user experience.

Note: Sentry is a logging and error tracking tool used to monitor and debug application errors.
…error handling when retrieving and creating requests.

- Use single-quote string literals for imports and axios requests.
- Improve error handling when retrieving requests, display error toast and return null on error.
- Improve error handling when creating requests, display error toast and log error to console.
- Refactor code to use arrow functions more consistently.

Co-authored-by: [Your Name] <[your-email@example.com]>
Add migration 2023-10-28_19-21-23

refactor(UserList.vue): Simplified draggable element syntax and refactored template

refactor(Users.vue): Simplified form and updated template
Summary:
Remove "EasterEggs" plugin.
This commit adds new migration scripts to the migrator module. It also updates the database schema by adding a new column 'tutorial' to the 'accounts' table in the existing migration file. Additionally, a new migration file is created to add a column 'auth' to the 'users' table, if it does not already exist. This change ensures that the database structure is updated correctly.

Please note that the short description of the commit message is less than 50 characters: "feat: Add migration scripts and update database schema".
- Update project.json: Remove unnecessary command to create a database directory
- Update nx.json: Reformat targetDefaults and namedInputs objects
- Update package-lock.json: Update workspace definition for the wizarr-frontend app
- Update package-lock.json: Add new dev dependencies for Storybook and Loki library
- Update package-lock.json: Update version of @rocket.chat/livechat package

Note: This commit includes updates to the project configuration files and the package lock file.
@realashleybailey realashleybailey merged commit bef4661 into translations Oct 29, 2023
1 check was pending
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.

1 participant