80 Commits

Author SHA1 Message Date
Jan Sandbrink a6540269ba Enable copyright task to add missing headers
The copyright task was so far only built to update
existing (and properly marked) copyright headers.

We are now adding the capability to add a missing header
for Ruby files. This allows us to properly indicate copyright
where it was previously forgotten to be done.
2025-03-18 15:37:01 +01:00
Ivan Kuchin cf327a10bf exclude crowdin and generated from yml files in copyright tasks 2024-07-31 15:02:53 +02:00
Ivan Kuchin 200052dfa8 unify the rest of excludes by using globs in copyright tasks 2024-07-31 15:02:52 +02:00
Ivan Kuchin 5b1e8c78a8 cleanup excluded_paths from unused paths in copyright tasks 2024-07-31 15:02:52 +02:00
Ivan Kuchin dd7df44560 remove empty excludes from copyright tasks 2024-07-31 15:02:51 +02:00
Ivan Kuchin 4911b8a149 remove years from copyrights (except for COPYRIGHT file) 2024-07-31 15:02:49 +02:00
Ivan Kuchin a441b6dea5 remove .travis.yml from files to update by copyright task 2024-07-31 15:02:45 +02:00
Ivan Kuchin 883bed0f4f don't make paths absolute 2024-07-31 15:02:45 +02:00
Ivan Kuchin ed79308cd8 rename arg1 rake task argument to path 2024-07-31 15:02:45 +02:00
Ivan Kuchin 7fc9d81b75 fix rubocop violations in copyright.rake 2024-07-30 20:17:20 +02:00
Ivan Kuchin 60f393379a auto find all copyright update tasks by name 2024-07-30 20:17:20 +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
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
Oliver Günther cb60af9055 Merge remote-tracking branch 'origin/upgrade-to-ruby-3.2' into dev 2023-01-03 14:15:03 +01:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
Christophe Bliard 3967b051e8 Bump ruby to 3.2.0 2022-12-29 18:21:52 +01:00
Christophe Bliard 48a4f1b6ad lint with rubocop --autocorrect (safe cops only) 2022-06-02 10:40:10 +02:00
ulferts b5c76e3027 introduce lib_static 2022-04-04 16:46:01 +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
ulferts cb63949c58 replace deprecated File.exists? 2022-01-24 13:25:19 +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
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
Oliver Günther 10e21154f7 Move asset pipeline javascripts to frontend (#8482)
* ove reporting and reporting_engine js to frontend page

* Replace webhook assets javascript

* Add path augment service to dynamically load scripts

* Remove JS-Files that are not used/not needed any more

* Include AugmentingModule correctly

* Remove special handling for checkbox selection which is outdated and two jquery libs that are not used any more

* Load scripts dynamically that are not needed globally

* Move plugin JS to frontend

* Move toggable fieldsets to global listeners

* Move top-menu to global listeners and convert to TS

* Move action_menu to frontend and port to TS

* Move settings listener to frontend

* Remove global js assets that were not used anyway

* Move date range to timelog dynamic script where it's still used until removed

* Move colors to global-listeners and port to TS

* Replace tooltip with simple form instructions on the one place used

Tooltips were only used at the one place in our application, when changing a users password.
We can simply remove it there and use a modern solution the next time we need a tooltip

* Move danger zone validation to frontend and port to TS

* Move colorcontrast to backlogs vendor where it's used now

* Remove contents of application.js.erb

* Move project and user scripts to dynamically loaded

* Move onboarding tour to dynamically loaded

* Use correct syntax for jQuery so that $ is  known keyword within this function

* Fix onboarding tour

* Fix onboarding tour for scrum tour

* Fix specs after moving JS

* Remove application.js.erb

* Move locales and ckeditor to the frontend to dynamically load

* Remove bundles caches

These are no longer being used since angular cli

* Ensure locales are exported before angular

Co-authored-by: Henriette Darge <h.darge@openproject.com>
2020-07-09 11:02:43 +02:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Henriette Dinger cfc98a7618 Remove all unused images (including last references to jstoolbar and one unused style) 2019-05-28 09:21:05 +02:00
Jens Ulferts 319f33e924 remove textile 2018-07-17 12:14:51 +02:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
Wieland Lindenthal 49f12b3e21 Enterprise Edition support tokens 2017-01-17 14:17:19 +01:00
Oliver Günther 7cf11bb689 Update copyright notice 2017-01-10 15:11:43 +01:00
Oliver Günther d9be51c30f Remove protractor E2E tests (#4346)
In agreement with @furinvader, we have decided to remove protractor
testing from OpenProject.

Frontend tests are implemented in karma and test single units of work as
before.
Since the freshness of APIv3 JSON mocks are getting ouf hand and we have
covered almost all E2E protractor tests with Rails, we're going to
resort to Rails to write concise *actual* integration test with correct data.
2016-04-22 08:23:00 +02:00
Alex Coles 35ef50b868 Fix syntax (w/Rubocop) in tasks
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-06-30 12:08:33 +02:00
Alex Coles b7123fb42e Exclude application.js.erb from copyright task
This file relies on Sprockets directives, which will not be processed
properly with an ERB comment at the beginning of the file.

[ci skip]

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-21 10:27:31 +02:00
Alex Coles 5ea898a2d1 Remove copyright task for Markdown (.md) files
[ci skip]

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-20 18:06:15 +02:00
Alex Coles 32516d373e Update copyright task exclude paths (.html)
[ci skip]

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-20 18:06:14 +02:00
Alex Coles 5ae4b07493 Update copyright task exclude paths (.js)
[ci skip]

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-20 18:06:14 +02:00
Alex Coles e0fa5a2ee7 Prune old paths from copyright tasks
[ci skip]

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-20 18:06:14 +02:00
Alex Coles e0191e759c Update year in copyright header to 2015
[ci skip]
2015-01-01 00:02:57 +00:00
Alex Coles d7ee86b592 Adapt copyright Rake task for Sass sources
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2014-11-04 19:54:05 +01:00
Alex Coles b8b26cfcf0 Fix syntax (w/Rubocop) in tasks
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2014-11-03 22:15:13 +01:00
Martin Czuchra e8b244b3e4 Removes Raphaël references from copyright.rake. 2014-07-14 16:48:56 +02:00
Michael Frister 069061e4eb Remove rsb API templates 2014-04-16 10:40:53 +02:00
Johannes Wollert a91a869319 enable copyright task to deal with additional buffer stuff between headers (like ruby encoding definitions) 2014-02-27 16:39:52 +01:00
Johannes Wollert 8b096975fe updates copyright headers
updates more copyright

more copyright headers
2014-02-27 16:39:51 +01:00
Philipp Tessenow 444546e2e8 use \A and \z instead of ^ and $ in ruby regexes 2013-10-28 15:07:08 +01:00
Philipp Tessenow 9d6fad9b24 remove tinymce spike 2013-10-21 17:15:12 +02:00
Jens Ulferts 9ddb82794a replaces bundled svg graph with gem 2013-10-15 08:27:08 +02:00