Commit Graph

142 Commits

Author SHA1 Message Date
Oliver Günther 1dc471ae01 Update perl command to use list, not string system call 2026-04-13 13:57:34 +02:00
Oliver Günther 58c576f55d Remove unused sys actions
These actions were never documented except for fetch_changesets, and we
can use the 15.0 release to remove support for it.
2024-10-28 13:05:15 +01: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
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
Klaus Zanders d6fee0e351 Remove debug statement in the middle of the case statement of RDM Mailhandler 2023-09-06 09:00:13 +02:00
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01: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
Oliver Günther ccfa29c728 Move license and copyright docs to root, fix names and references 2021-09-02 21:50:46 +02:00
luzpaz 2ae53bd252 Fix typos in user facing and non-user facing code (#9497)
* Fix typos in user facing and non-user facing code

Found via `codespell -q 3 -S ./config/locales -L ba,nd,parms,sur,varius`

* Fix strings in specs
2021-07-21 17:26:31 +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
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Jens Ulferts 6c669aab6e Merge branch 'release/7.4' into dev 2018-06-20 13:22:30 +02:00
Oliver Günther 4e98ac6400 Improve error logging on SVN handler
[ci skip]
2018-06-13 16:07:06 +02:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
Oliver Günther 714775fe74 Allow nonref for debian 9
[ci skip]
2017-09-20 07:37:41 +02:00
Oliver Günther 7cf11bb689 Update copyright notice 2017-01-10 15:11:43 +01:00
Oliver Günther 2ff7e923cd Explicitly require LWP::Protocol::http
This should resolve `Attempt to reload LWP/Protocol/http.pm aborted.` on
the apache authorization mod_perl script.

[ci skip]
2016-09-07 16:27:10 +02:00
Oliver Günther acffebd72c Remove duplicate module require 2015-12-01 16:20:36 +01:00
Cyril Rohr 7a8b72599d Use the more widely available JSON perl module instead of JSON::PP 2015-11-27 21:12:30 +01:00
Cyril Rohr 09a6d2d733 Fix repoman script 2015-11-27 21:10:27 +01:00
Oliver Günther ba491cbf47 Fix repository relocation on managed remote
Repositories were not properly relocated when using a managed remote.
This also changes the request to use an old identifier instead of the
whole path. The managed remote will build the correct old path itself.
2015-11-26 13:25:24 +01:00
Oliver Günther 0a48bcae3e Use compatible perl string concatenation 2015-11-06 16:38:56 +01:00
Oliver Günther b29abfbdc0 Expect URL and path to be returned from the remote
This commit expects a managed remote to return at least a URL
to the repository, and optionally a path.

Note that OpenProject currently only supports local repositories for
Git, and thus using managed remotes with Git WILL require a path
returned from the remote.

For Subversion, also returning a `file://<path>` URL is sufficient,
since it can browse that. Returned external URLs must be accessible from
OpenProject, since we do not receive any authentication from the remote.
2015-10-28 17:05:15 +01:00
Oliver Günther 4057250b5c Perl wrapper: Use rmtree for actual deletion 2015-10-21 18:13:23 +02:00
Oliver Günther 58ced887a2 Repository Apache module
Provides a simple mod-perl based Apache wrapper around
remote repositories.

As its functionality is very limited, it is probably not of much use outside of the packager context.
2015-10-14 09:37:31 +02:00
Oliver Günther c5a33fc4fa [ci skip] Remove reposman functionality.
This commit removes the functionality provided by reposman.rb,
and replaces that script with an empty placeholder printing only
a deprecation warning (as to not throw errors in existing cronjobs).

In detail, this commit does:

* replace reposman.rb with an script printing a deprecation only.
* Remove repositories creation API in SysController and corresponding
specs
* Update documentation guides concerning the deprecation of reposman
* Remove packager scripts for creating a reposman.rb cronjob.
* Adds a rake task to migrate repositories to managed type with a common
* URL prefix.
2015-10-06 16:16:26 +02:00
Philipp Tessenow 373473c563 Add git support to repository authentication script
Refactors the original PR from #1629
* dispersed authorization methods in SysController
* refactored and updated SysController specs
2015-08-19 10:13:18 +02:00
Oliver Günther 1e8c873544 Remove filesystem adapter
This commit removes the entire FileSystem repository and adapter.
It rids all specs (core and legacy) of remaining uses of this adpater
and replaces it with a temporary subversion repository, where necessary.

We also need to remove remaining filesystem instances from the database,
otherwise users will receive errors when accessing said repositories
on the Frontend.

This does not destroy any data on filesystem, but database information
on the repositories (remarks) are lost.
2015-07-22 14:40:16 +02:00
Jan Sandbrink 4a69d2505a replace ternaries returning booleans
- foo ? true : false was replaced where foo already was bool
- foo ? true : false was kept, when the ternary did a bool conversion
- foo ? false : true was replaced by either negation or replacing == with !=

Note: I intentionally left one occurence that is fixed in another running PR and would cause a conflict
2015-05-27 10:14:43 +02:00
Alex Coles 639252f81e Update OpenProject URLs
See e7db3798.

[ci skip]

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-01-27 17:03:42 +01:00
Alex Coles e0191e759c Update year in copyright header to 2015
[ci skip]
2015-01-01 00:02:57 +00:00
Alex Coles 5e77077e72 Merge pull request #1628 from opf/fix/document_svn_integration
Document svn integration in doc/ directory
2014-07-24 16:29:33 +02:00
Philipp Tessenow 935e977a3e Document svn integration in doc/ directory
Provide example apache config file, reposman.rb call,
and remove the inline documentation from that perl script.
2014-07-21 11:21:21 +02:00
Philipp Tessenow 1473c44f50 Remove obsolete svn scripts.
I haven't seen anyone ever using those script. Plus they are long
removed by redmine, see:
https://github.com/redmine/redmine/commit/72eebe1ce102ec26b444b7bd25f07dd720150fe1
2014-07-21 09:32:31 +02:00
Philipp Tessenow 3af6b53418 We need libapache2-svn for a working svn setup 2014-07-15 13:21:37 +02:00
Philipp Tessenow e625117005 add back --redmine-host option for compatibility
because we don't want to break old OpenProject installations.
However, this options is deprecated.
2014-07-15 13:20:11 +02:00
Philipp Tessenow e70c93ba4b replace occurences of 'redmine' with 'openproject' 2014-07-14 11:34:12 +02:00
Philipp Tessenow 1b7b556ef6 copy svn support scripts as-is from our chef deployment scripts 2014-07-14 11:23:54 +02:00
Christian Ratz fd49a85296 fixes reposman input parsing 2014-04-28 15:15:17 +02:00
Johannes Wollert 8b096975fe updates copyright headers
updates more copyright

more copyright headers
2014-02-27 16:39:51 +01:00
Christian Ratz abcdc87363 Fixed regex in reposman.rb
- I had to revert the changes from 444546e2e8 in the reposman.rb
  file to get the auto-repo-creation working again
2013-11-07 16:14:13 +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 a1e67dd460 new copyright header #1903 2013-09-16 17:59:31 +02:00
Philipp Tessenow 9caaa857ce handle shebang line that appears just before the copyright header 2013-09-09 11:32:12 +02:00