Skip to content

Commit 1d9f724

Browse files
Merge branch 'release/9.0' into stable/9
2 parents 94fa823 + a683d5f commit 1d9f724

File tree

6,805 files changed

+776791
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

6,805 files changed

+776791
-0
lines changed

.buildpacks

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
https://github.com/heroku/heroku-buildpack-nodejs.git#v106
2+
https://github.com/pkgr/heroku-buildpack-ruby.git#v199-1

.codeclimate.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
version: "2"
3+
languages:
4+
Ruby: true
5+
JavaScript: true
6+
checks:
7+
file-lines:
8+
enabled: false
9+
method-count:
10+
enabled: false
11+
method-lines:
12+
enabled: false
13+
method-complexity:
14+
enabled: true
15+
config:
16+
threshold: 10
17+
complex-logic:
18+
enabled: true
19+
config:
20+
threshold: 10
21+
# Similar codes trips up at the long TS/angular injection
22+
# constructors all the time, which are similar by nature.
23+
similar-code:
24+
enabled: false
25+
identical-code:
26+
enabled: true
27+
plugins:
28+
rubocop:
29+
enabled: true
30+
brakeman:
31+
enabled: true
32+
# as long as bundler-audit does not support bundler 2.0 we disable it
33+
bundler-audit:
34+
enabled: false
35+
eslint:
36+
enabled: true
37+
checks:
38+
no-unused-expressions:
39+
enabled: false
40+
csslint:
41+
enabled: true
42+
scsslint:
43+
enabled: true
44+
tslint:
45+
enabled: true
46+
config: tslint.json
47+
fixme:
48+
enabled: true
49+
ratings:
50+
paths:
51+
- app/**
52+
- config/**
53+
- features/**
54+
- frontend/**
55+
- lib/**
56+
- spec/**
57+
exclude_paths:
58+
- .bundle/**/*
59+
- lib/plugins/rfpdf/**/*
60+
- app/assets/javascripts/vendor/**/*
61+
- frontend/vendor/**/*
62+
- "**/*.d.ts"
63+
- "**/node_modules/"
64+
- spec/**
65+
- spec_legacy/**/*

.dockerignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.git
2+
.bundle
3+
.env*
4+
tmp
5+
frontend/node_modules
6+
# travis
7+
vendor/bundle

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
7+
[*.{js,rb,ts}]
8+
charset = utf-8
9+
indent_style = space
10+
indent_size = 2

.env.sample

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#-- copyright
2+
# OpenProject is a project management system.
3+
# Copyright (C) 2012-2015 the OpenProject Foundation (OPF)
4+
#
5+
# This program is free software; you can redistribute it and/or
6+
# modify it under the terms of the GNU General Public License version 3.
7+
#
8+
# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
9+
# Copyright (C) 2006-2013 Jean-Philippe Lang
10+
# Copyright (C) 2010-2013 the ChiliProject Team
11+
#
12+
# This program is free software; you can redistribute it and/or
13+
# modify it under the terms of the GNU General Public License
14+
# as published by the Free Software Foundation; either version 2
15+
# of the License, or (at your option) any later version.
16+
#
17+
# This program is distributed in the hope that it will be useful,
18+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
# GNU General Public License for more details.
21+
#
22+
# You should have received a copy of the GNU General Public License
23+
# along with this program; if not, write to the Free Software
24+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25+
#
26+
# See doc/COPYRIGHT.rdoc for more details.
27+
#++
28+
29+
# If you place a .env file into the root directory of OpenProject
30+
# you can override some default settings that foreman will use
31+
# to start OpenProject
32+
33+
# override the default bind address
34+
HOST=0.0.0.0
35+
36+
# override the default port
37+
PORT=1337

.gitignore

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
#-- copyright
2+
# OpenProject is a project management system.
3+
# Copyright (C) 2012-2018 the OpenProject Foundation (OPF)
4+
#
5+
# This program is free software; you can redistribute it and/or
6+
# modify it under the terms of the GNU General Public License version 3.
7+
#
8+
# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
9+
# Copyright (C) 2006-2017 Jean-Philippe Lang
10+
# Copyright (C) 2010-2013 the ChiliProject Team
11+
#
12+
# This program is free software; you can redistribute it and/or
13+
# modify it under the terms of the GNU General Public License
14+
# as published by the Free Software Foundation; either version 2
15+
# of the License, or (at your option) any later version.
16+
#
17+
# This program is distributed in the hope that it will be useful,
18+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
19+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20+
# GNU General Public License for more details.
21+
#
22+
# You should have received a copy of the GNU General Public License
23+
# along with this program; if not, write to the Free Software
24+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25+
#
26+
# See docs/COPYRIGHT.rdoc for more details.
27+
#++
28+
29+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
30+
#
31+
# If you find yourself ignoring temporary files generated by your text editor
32+
# or operating system, you probably want to add a global ignore instead:
33+
# git config --global core.excludesfile '~/.gitignore_global'
34+
35+
# Ignore bundler config.
36+
/.bundle
37+
38+
# Ignore all logfiles and tempfiles.
39+
/log/*.log
40+
npm-debug.log*
41+
/tmp
42+
*.swp
43+
44+
# Ignore Visual Studio Code files
45+
/.vscode
46+
47+
# Ignore RubyMine files
48+
/.idea
49+
/frontend/.idea
50+
51+
/backup
52+
/.project
53+
/.loadpath
54+
/app/assets/javascripts/bundles/*.*
55+
/app/assets/javascripts/editor/*
56+
/app/assets/javascripts/locales/*.*
57+
/config/additional_environment.rb
58+
/config/configuration.yml
59+
/config/database.yml
60+
/config/email.yml
61+
/config/secret_token.yml
62+
/config/frontend_assets.manifest.json
63+
/coverage
64+
/db/*.db
65+
/db/*.sqlite3
66+
/db/schema.rb
67+
/files/*
68+
/log/*.log*
69+
/log/mongrel_debug
70+
/public/dispatch.*
71+
/public/plugin_assets
72+
/public/assets
73+
/public/javascripts
74+
/tmp/*
75+
/tmp/cache/*
76+
/tmp/sessions/*
77+
/tmp/sockets/*
78+
/tmp/test/*
79+
/*.rbc
80+
/doc/app
81+
/Gemfile.local*
82+
/Gemfile.plugins*
83+
/.rvmrc*
84+
/.ruby-version
85+
/.ruby-gemset
86+
/.foreman
87+
/.env*
88+
.rspec
89+
# coverage in plugins
90+
/lib/plugins/*/coverage
91+
# asset cache
92+
/.sass-cache/
93+
# Frontend debug log
94+
/frontend/npm-debug.log*
95+
/frontend/dist/
96+
/frontend/tests/*.gif
97+
node_modules/
98+
# Ignore global package-lock.json that generates
99+
/package-lock.json
100+
plaintext.yml
101+
structure.sql

.jshintignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
app/assets/javascripts/date-de-DE.js
2+
app/assets/javascripts/date-en-US.js
3+
app/assets/javascripts/jquery_noconflict.js
4+
app/assets/javascripts/project/**/*
5+
app/assets/javascripts/lib/**/*

.openproject-token.pub

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
-----BEGIN PUBLIC KEY-----
2+
MIIEFjANBgkqhkiG9w0BAQEFAAOCBAMAMIID/gKCA/UAquIZchoog2ffcr9J2KSl
3+
mlum6sN3smTVNsp9JGd1q4fr/kUFGch6q1cFEX3x5BGDXx7wPPI4ppKzeQHaxWmx
4+
wxqs3eevcTFUEF9A2MPX7p5Ia0TbH4d7e7D9YMWvDXoQLggrxMFdUHY3ppUnBPgB
5+
+EJG1Pv0FlBAdxYX0em7kLwhcp9PBP/zXso/qkkKK/pncyKizOLC3zv3E0ixcQ7o
6+
Nq0aolTJFMHcqEquKaQN1jicDdzU6ks+YKh7kByZvVChe/InlroVXKrUa34hAZDM
7+
acEkURJma3meN0I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/9WMwjzrWSti4meNBUO6/18cAognx0Pf5qsrSzOewIDAQAB
24+
-----END PUBLIC KEY-----

.pkgr.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
user: openproject
2+
group: openproject
3+
targets:
4+
debian-8: &debian8
5+
build_dependencies:
6+
- libsqlite3-dev
7+
dependencies:
8+
- poppler-utils
9+
- unrtf
10+
- tesseract-ocr
11+
- catdoc
12+
debian-9:
13+
<<: *debian8
14+
ubuntu-14.04:
15+
<<: *debian8
16+
ubuntu-16.04:
17+
<<: *debian8
18+
ubuntu-18.04:
19+
<<: *debian8
20+
centos-7:
21+
dependencies:
22+
- epel-release
23+
sles-12:
24+
build_dependencies:
25+
- sqlite3-devel
26+
before_precompile: "packaging/setup"
27+
after_precompile: "packaging/teardown"
28+
crons:
29+
- packaging/cron/openproject-hourly-tasks
30+
- packaging/cron/openproject-clear-old-sessions
31+
- packaging/cron/openproject-clear-uploaded-files
32+
- packaging/cron/openproject-clear-tmp-cache
33+
services:
34+
- postgres
35+
installer: https://github.com/pkgr/installer.git
36+
wizards:
37+
- https://github.com/pkgr/addon-legacy-installer.git
38+
- https://github.com/pkgr/addon-postgres
39+
- https://github.com/pkgr/addon-apache2.git
40+
- https://github.com/finnlabs/addon-repositories.git
41+
- https://github.com/pkgr/addon-smtp.git
42+
- https://github.com/pkgr/addon-memcached.git
43+
- https://github.com/opf/addon-openproject.git
44+
buildpack: https://github.com/opf/heroku-buildpack-multi.git

0 commit comments

Comments
 (0)