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
Ivan Kuchin
d29589920a
don't require tempfile in lib/tasks/backup.rake
2024-03-11 10:52:21 +01:00
Ivan Kuchin
98e8fa792a
extract PostgresEnvironment to share between BackupJob and backup rake tasks
2024-02-07 12:50:51 +01:00
Ivan Kuchin
8473f8123b
remove unused certificate config parameters
2024-02-06 18:40:42 +01:00
Ivan Kuchin
70de91697b
remove unused sql_dump_tempfile method
2024-02-05 16:05:51 +01:00
Ivan Kuchin
2e75df8af1
use Tempfile.open with block instead of Tempfile.new with explicit unlink
2024-02-05 16:05:51 +01:00
Ivan Kuchin
96ff2b650f
create config file only if needed and minimize block size
2024-02-05 16:05:50 +01:00
Ivan Kuchin
6dc817d713
use mkpath of pathname instead of FileUtils.mkdir_p explicitly
2024-02-05 16:05:50 +01:00
Ivan Kuchin
4e31c8bba5
use configuration_hash and one place for user || username
2024-02-05 16:05:50 +01:00
Ivan Kuchin
d85dd03bff
fix backup rake tasks
...
ActiveRecord::Base.configurations does not return a hash since rails 6, but
using config directly still works.
See https://github.com/rails/rails/pull/33637
2024-02-05 16:05:50 +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
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
Markus Kahl
8c8b8bbfa7
create backups via UI ( #9136 )
...
* create backups via UI
* Fix import of modal service
* introduced backup token and addressed remaining comments
* allow disabling permissions
* improvements
- only make user wait to use backup token in if really necessary
- notify admins of new backup token
- disable 'include attachments' option in UI if unavailable
- documentation
- misc
* spec fixes
* fixed feature spec
* allow setting capybara host in every case
* removed unused style file
* addressed review feedback, added further feature specs
* polish (code climate)
* Avoid empty attachments
* Don't raise filesize validation for internal exports
Co-authored-by: Oliver Günther <mail@oliverguenther.de >
2021-04-28 08:51:43 +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
Henriette Dinger
bd7f4e4814
Update copyright notice
2020-01-15 11:31:26 +01:00
ulferts
9c3206220b
remove mysql specific code throughout the application
2019-06-06 15:07:43 +02: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
Sven Uthe
095e8d5edf
fixed backup task
...
Added another way to read in rails configurations.
2015-05-11 20:24:01 +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
Philipp Tessenow
13ab67deb5
pg_dump needs the database name as the last param
2014-10-21 15:22:36 +02:00
Philipp Tessenow
291ed5bd3d
db backup filename depends on db adapter
2014-10-21 14:46:07 +02:00
Philipp Tessenow
f309eabe36
do not use the PGPASSFILE if no password is provided
2014-10-21 14:20:54 +02:00
Philipp Tessenow
323a5b5776
only sanitize_filename the actual filename
2014-10-21 14:15:02 +02:00
Philipp Tessenow
2568c2a2d7
whitespace fixes and other minor things
2014-10-21 14:10:32 +02:00
Philipp Tessenow
6f3f9ac515
add specs for backup task
2014-10-21 13:59:04 +02:00
Philipp Tessenow
ac7c0d1970
postgresql db backups
2014-10-21 11:07:31 +02:00
Philipp Tessenow
24b62d0a4c
add rake tasks for mysql db backups/restores
2014-10-20 18:58:09 +02:00