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

Update AWI V2 with Greenlight V2 before Migration to V3 #7

Merged
merged 37 commits into from
Mar 11, 2024

Conversation

oktab1
Copy link
Owner

@oktab1 oktab1 commented Mar 11, 2024

Description

Testing Steps

Screenshots (if appropriate):

KH-Amir-TN and others added 30 commits October 18, 2022 15:31
+ Added capitalization on migrated roles names.
	+ Auto mapping of v2 default roles names to v3 names.
	+ Better filtering to migrated users records.
* Initial commit

* Fix path

* Add owner_email and owner_provider attributes

* Add to_datetime to last_session

* Add range to rooms migration

* quickfix

* Change user to owner and add id to Room select

* Revert last commit
Bumps [rails-html-sanitizer](https://github.com/rails/rails-html-sanitizer) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/rails/rails-html-sanitizer/releases)
- [Changelog](https://github.com/rails/rails-html-sanitizer/blob/master/CHANGELOG.md)
- [Commits](rails/rails-html-sanitizer@v1.4.3...v1.4.4)

---
updated-dependencies:
- dependency-name: rails-html-sanitizer
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-RUBY-RACK-1061917

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: Ahmad Farhat <[email protected]>
* Added guest=true for all users not signed in

* Rubo
translation completed for the source file '/config/locales/en.yml'
on the 'ru' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
translation completed for the source file '/config/locales/en.yml'
on the 'hu_HU' language.

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
* Fix locale time formatting in Arabic.

The time formatting in Arabic is broken and it causes a 500 error on the room page if a user switches to Arabic.

* Time formatting in Iraqi Arabic is broken

Time formatting in Iraqi Arabic is broken, it causes a 500 error on the room page if a user tries to switch their language to it..

Co-authored-by: Ahmad Farhat <[email protected]>
…aredAccess, SiteSettings, RoomConfiguration data (#4339)

* Add SiteSettings and RoomConfigs to migration

* Create standalone task for Room Settings

* Quickfixes

* Quickfix

* Rubo

* Add JSON parse

* Fix RoomSettings data structure

* Remove default values from room_settings hash

* Put RoomSettings logicin Room task

* Add SharedAccess task

* Fix SharedAccess logs

* Fix SiteSettings task

* Fix registration method

* Add RolePermissions to Role task

* Move SharedAccess to Room, fix SiteSettings

* Fix SharedAccess

* Add RoomsConfiguration

* Fix Roles after test

* Rename SiteSettings to Settings

* Rubocop

* Add logic to bypass HomeRoom empty string

* fix typos

* Rubocop

* Remove PrimaryColorDark from settings data
Bumps [rack](https://github.com/rack/rack) from 2.2.4 to 2.2.6.2.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](rack/rack@2.2.4...v2.2.6.2)

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

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [globalid](https://github.com/rails/globalid) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/rails/globalid/releases)
- [Commits](rails/globalid@v1.0.0...v1.0.1)

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

Signed-off-by: dependabot[bot] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add Errors logging to Migration (v2)

* Improve error logging

* rubo

* Fix last line removal mistake
* V3 Migrations: Optimized `migrations:roles` task.

* V3 Migrations: Fixed `migrations:rooms` task.
* Add Provider to migration file

* Add Provider to migration file

* Add greenlight as default task argument

* Remove admin and user from filtered roles for tenants

* Add provider

* Fix migration file

* Add default_enabled to possible rooms configs

* Change v2 disable from v3 disable to v3 optional

* Change v2 disable back to v3 disable
@oktab1 oktab1 merged commit c3cc3b6 into oktab1:artwithimpact2130 Mar 11, 2024
1 check failed
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.

8 participants