68 Commits

Author SHA1 Message Date
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 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
Christophe Bliard 21a696ef9b Update copyright information for 2023 2022-12-30 15:51:26 +01:00
ulferts ca361b017b remove legacy specs completely 2022-10-17 14:23:39 +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
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
ulferts c383c5821f Fix/remove cucumber (#8847)
* replace very last cuke with spec

* remove cuke support files

* remove cucumber gems

* remove traces of cucumber

* remove no longer required route

* forcefully clear parallel_test features task

* attempt removal of binstub

* attempt to stabilize spec
2020-11-16 09:20:51 +00:00
Henriette Dinger bd7f4e4814 Update copyright notice 2020-01-15 11:31:26 +01:00
Oliver Günther 1dab873e7b Remove legacy repo specs as they are doubled in svn/git model spec 2019-02-18 15:38:12 +01:00
Oliver Günther 6ef4211e77 Bump copyright to 2018 (#6171)
[ci skip]
2018-02-12 08:51:12 +01:00
Oliver Günther 7cf11bb689 Update copyright notice 2017-01-10 15:11:43 +01:00
Oliver Günther d9baf5748d Execute i18n export for tests
The middleware is only used for dev mode, and thus we need to enhance
the existing rake task to not only run webpack, but also the i18n
export.
2016-07-13 15:22:26 +02:00
Stefan Botzenhart 0af30a1990 Remove rake spec:core task as it is not required any longer 2015-10-02 11:04:50 +02:00
Stefan Botzenhart f7db95d9fb Cleanup testing tasks
* spec runs spec:core
* suite runs cukes, specs and legacy specs
2015-10-01 12:35:35 +02:00
Stefan Botzenhart 785561c63f Adjust spec:legacy task to actually run legacy specs 2015-10-01 12:35:34 +02:00
Alex Coles e4c87bc2b4 Merge branch 'dev' into feature/rails4
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-08-08 19:44:58 +01: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
Oliver Günther 05b27c1b98 Asynchronous creation, deletion of repositories from OP.
This PR begins the push towards management of repository lifetime
from within OpenProject.

What this currently provides is the following:

  - A mixin `ManageableRepository`, included by `Repository::{Git,
      Subversion}` to provide an interface to repo management
  - Two services and delayed_job workers for creating (`CreateManagedRepositoryService`) and
  deleting (`DeleteRepositoryService`)
  - Customized rendering of subforms in the repository settings for
  arbitrary SCM vendors.

TODOS:
  - [x] Provide sane ground to work on ( cf. PR #3149 )
  - [x] Rework SCM settings form (`{scm}_tags` is currently HTML generated
        from within a Helper.)
  - [x] Ease integration of arbitrary SCM vendors
  - [x] Display meaningful error / warning when user looks at bare
  repository (currently outputs 500, as Git HEAD / svn revision is not
          available)
  - [x] I18n
  - [ ] Specs (in progress)
    - [x] Fix legacy specs
  - [ ] Decide what to do with `Filesystem` adapter.

Open Questions:

  - **Configuration**: Currently replaces the existing options in
  `configuration.yml`.
  - **Implementation specifics**:
    - Sub-projects repositories reside in a hierarchy below their parents
    - How should the delayed_job react upon failure? (esp. creation of
            repositories)

Relevant work package: https://community.openproject.org/work_packages/20416
Merge dependent on PR #3149
2015-07-22 14:40:14 +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 dbdd3aa539 Fix exclude pattern for legacy spec Rake tasks
Executing legacy specs with Rake broken by 8a1979d5.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-06-26 10:36:23 +02:00
Jonas Heinrich a3153f0c80 Catch Constant undefined when bundling without rspec 2015-04-16 11:57:04 +02:00
Alex Coles 7dfeee8ac0 Clear rspec-rails defined spec:legacy Rake task
This ensures legacy specs are not executed twice.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-06 10:41:14 +02:00
Alex Coles 91ace2cc0b Fix repository fixture dirs used by scm:setup task
Broken in previous commit 2efd6f4e.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-06 01:57:14 +02:00
Alex Coles 7256525aa1 Exclude legacy specs from regular 'core' spec run
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-06 01:51:11 +02:00
Alex Coles 2efd6f4e45 Move legacy specs under spec/legacy
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-06 01:51:11 +02:00
Alex Coles 1a0e2b90af Customise spec Rake tasks to run legacy specs
For the time-being, we emulate Test::Unit Rake tasks and perform
separate runs for each of the legacy spec groups: there are still
problems with legacy specs not cleaning up after themselves.

Additionally legacy specs and the core spec suite cannot (yet) share
the same configuration.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
2015-04-05 22:01:07 +02:00
Alex Coles e0191e759c Update year in copyright header to 2015
[ci skip]
2015-01-01 00:02:57 +00: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
Alex Coles 9bcca0506d Only hook into test/spec tasks if they are defined
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2014-10-23 16:10:51 +02:00
Alex Coles a82bb90a33 Hook Webpack build into test/spec tasks
Signed-off-by: Alex Coles <alex@alexbcoles.com>
2014-10-23 14:48:46 +02: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 a1e67dd460 new copyright header #1903 2013-09-16 17:59:31 +02:00
Michael Frister 02e51b520a Remove coveralls for now, seems to be broken for months. 2013-07-17 14:35:34 +02:00
Jens Ulferts 21459a384f provide every possible file with a short copyright notice
This was done using the rake task: rake copyright:update
2013-06-07 10:49:57 +02:00
Christian Ratz c2bef73ec9 fixes testing rake task for production mode
- require coveralls rake task only in test env similar to the Gemfile
2013-05-31 15:30:20 +02:00
Philipp Tessenow 2c8025a81c remove unused code from testing.rake
[ci skip]
2013-05-29 09:22:41 +02:00
Philipp Tessenow 031562155a add coveralls rake task 2013-05-28 20:11:05 +02:00
Philipp Tessenow b5115e563d I probably have to require coveralls/rake/task 2013-05-28 18:12:38 +02:00
Martin Linkhorst 2adda9d882 define the default rake task to run the whole test suite 2013-05-03 16:45:16 +02:00
Martin Linkhorst dd9515d745 remove cvs scm from openproject core 2013-01-09 11:56:41 +01:00
Martin Linkhorst 96dacf3150 remove bazaar scm from openproject core 2013-01-09 11:36:09 +01:00
Martin Linkhorst 2ff10f4c54 remove mercurial scm from openproject core 2013-01-08 18:39:17 +01:00
Martin Linkhorst 4b53920965 remove darcs scm from openproject core 2013-01-08 18:09:19 +01:00