28 Commits

Author SHA1 Message Date
ulferts 2b68eb08ad squash migrations below 15.0 2025-07-22 14:54:28 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
ulferts 3b2121f733 Revert "Merge remote-tracking branch 'origin/release/13.4' into dev"
This reverts commit 40b2bbeb09, reversing
changes made to b4c6cb17cc.
2024-03-21 11:31:17 +01:00
Ivan Kuchin 7787e457a3 Revert "Merge branch 'dev' into release/13.4"
This reverts commit a901541269, reversing
changes made to e573ca00b7.
2024-03-20 20:19:08 +01:00
Ivan Kuchin 9e4934cd0a change quotes using rubocop --only Style/StringLiterals,Style/QuotedSymbols -a 2024-03-20 18:05:22 +01:00
Aaron Contreras 7339623827 Run rubocop -a on modules/bim 2024-02-23 10:02:23 -05:00
Oliver Günther c4995e3121 Fix migration using attachments without enum 2024-02-20 09:37:03 +01:00
Dombi Attila d9d6ba01cd Fix typo 2024-02-01 14:22:07 +02:00
Dombi Attila 38b660aaa5 Define custom migration classes for Project and Bim::IfcModels::IfcModel to avoid non existing enum type declaration errors. 2024-02-01 14:22:06 +02:00
Christophe Bliard 8fa8584538 Run rubocop --autocorrect on all files
Only the safe cops have run. rubocop version is 1.59.0.
2024-01-05 15:27:09 +01:00
Christophe Bliard c795874f7f Update copyright year for 2024
command used: `rg -l 'Copyright \(C\) 2012-202\d the OpenProject' | xargs -n 100 sed -i -r 's/Copyright \(C\) 2012-202. the OpenProject/Copyright (C) 2012-2024 the OpenProject/'`
2024-01-02 16:23:54 +01:00
Pavel Balashov 0905809ea6 Autofix some style issues. 2023-05-24 16:11:09 +02:00
Pavel Balashov 4fd26142a1 Add missing copyrights. 2023-05-24 16:10:26 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard 48a4f1b6ad lint with rubocop --autocorrect (safe cops only) 2022-06-02 10:40:10 +02:00
Christophe Bliard a33524ef6d remove ruby magic comment for utf-8
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard bc8d423ec2 update copyright information for 2022 2022-03-01 17:05:59 +01:00
Wieland Lindenthal ebab8bb49c Save for each IFC model what state its conversion to XKT is in. (#9751)
* Save for each IFC model what state its conversion to XKT is in.

Display the status and, if present, the error message to the users

* Set conversion_state on migration

* Add converion error messages to the ifc models list.

* Extend ifc conversion spec to cover conversion status and message

* Extend view spec to cover conversion status

* Satisfy rubocop

* Improve readability of migration code:
2021-11-08 15:18:02 +01:00
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
Markus Kahl 5ab095e6f8 make sure xkt8 migration for demo data works
demo data attachments can be as big as they want
2021-06-04 10:19:07 +01:00
Wieland Lindenthal 31c1bdc9f9 Feature #37401: Bump XEOKIT to use XKT files version 8. Migrate all IFC models. (#9300)
* bump xeokit to xkt version 8

* Bump @xeokit/xeokit-gltf-to-xkt to version 1.3.1

- Remove all logic for extracting and providing metadata JSON
- Update seeder
- Update seeded XKT demo hospital model files
- Update conversion service to join GLTF and metadata into XKT file
- Fix feature spec for viewpoints.

* Remove specs for metadata attachment checking

* Update modules/bim/db/migrate/20210521080035_update_xkt_to_version8.rb

Co-authored-by: Markus Kahl <machisuji@gmail.com>
2021-06-03 08:12:05 +01:00
ulferts 1bdd2ab9ae safe automatic fixes by rubocop (#8994) 2021-02-11 16:02:18 +01:00
ulferts 6140f4c7e9 update copyright to 2021 (#8925)
Updates the copyright to 2021 for all files that have a copyright. Files in our source code without the copyright header still do not receive one automatically. Additionally, backlisted files are also excluded.

Previously the copyright of chiliproject which references redmine stated a copyright of redmine up to and including 2017 which is not true for the code we have in here. Because of that I changed that to 2013
2021-01-13 17:47:45 +01:00
Wieland Lindenthal 5c65ae2e1e Fix #35131: Cleanup migration for BIM themes (#8834)
* Fix #35131: Addin a cleanup migration for BIM themes

Elder BIM instances got "OpenProject" theme instead
of the "OpenProject BIM" theme after migration as
that became the default for the theme column.

BIM instances need to get the theme set in a new
CustomStyle entry AND its colors need to get
written to DB.

When digging around on Saas there were also BIM
instances that had a theme set in a CustomStyle
but did not have the colors written out to DB.

* Refacotring: improve clearity of migration
2020-11-16 09:28:18 +01:00
Wieland Lindenthal 6a8c60a524 Fixing several issues with the BCF XML import
- Enforce uniqueness of BCF GUIDs throughout an OP instance.
- Regression: The configuration dialogue can now have multiple
  steps again.
- Regression: The importer gets propperly configured with default
  options when no configuration steps get triggerd.
2020-06-12 09:40:11 +02:00
Oliver Günther d93fee38a4 Fix lookups and namespacing 2020-02-21 08:45:55 +01:00
Oliver Günther 31b53b40c4 Move IFC models into bim 2020-02-21 08:45:53 +01:00
Oliver Günther 65f8ae05c3 Move BCF into bim module 2020-02-21 08:45:37 +01:00