Alexander Brandon Coles
a3252add49
[ #67336 ] Rework Homescreen blocks as Widget Grid
...
Componentizes blocks (inheriting from `Grid::WidgetComponent`) as well
as implementing `BlocksGridComponent`.
Moves responsibility for data loading from controller to individual
block components.
2025-09-17 23:31:57 +01:00
Jan Sandbrink
0b87e7543f
Freeze string literals in specs
...
Rolling out frozen string literals further by freezing all
string literals in core specs.
2025-05-05 09:29:55 +02:00
Ivan Kuchin
4911b8a149
remove years from copyrights (except for COPYRIGHT file)
2024-07-31 15:02:49 +02:00
Christophe Bliard
a885fef2bd
Conform to RSpecRails/HaveHttpStatus cop
...
With a hack to get `have_http_status` to work with `Rack::MockResponse`.
2024-06-24 17:50:57 +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
Oliver Günther
92259181ce
Adapt specs to use introduced helpers
2023-09-13 09:02:42 +02:00
Christophe Bliard
4c2a9d0aa8
Enable RSpec zero monkey patching mode
...
The plan for RSpec 4.0 is to disable monkey patching.
See https://github.com/rspec/rspec-core/blob/main/features/configuration/zero_monkey_patching_mode.feature for details.
2023-05-31 19:22:29 +02:00
Christophe Bliard
aa23106c11
lint: autocorrect RSpec/FactoryBot/ConsistentParenthesesStyle
...
command is
rubocop -A --only RSpec/FactoryBot/ConsistentParenthesesStyle modules spec
2023-03-07 15:04:32 +01:00
Christophe Bliard
85b3258a29
Autocorrect with some rubocop cops
...
RSpec/Rails/InferredSpecType and Style/RedundantConstantBase
rubocop --autocorrect-all --only RSpec/Rails/InferredSpecType,Style/RedundantConstantBase spec modules/*/spec
2023-01-13 14:28:59 +01:00
Christophe Bliard
21a696ef9b
Update copyright information for 2023
2022-12-30 15:51:26 +01:00
Christophe Bliard
48a4f1b6ad
lint with rubocop --autocorrect (safe cops only)
2022-06-02 10:40:10 +02:00
Christophe Bliard
bc8d423ec2
update copyright information for 2022
2022-03-01 17:05:59 +01:00
Oliver Günther
f08bea3467
Remove FactoryBot.* prefix where applicable
2022-01-25 08:19:06 +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
bsatarnejad
8bf215678b
change styles of members widget
2021-07-11 20:38:22 +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
a62c157f18
rename news created_on column to created_at
2020-02-17 13:12:57 +01:00
Henriette Dinger
bd7f4e4814
Update copyright notice
2020-01-15 11:31:26 +01:00
Oliver Günther
059770f533
FactoryGirl => FactoryBot
...
Removes the deprecation
2018-05-07 22:38:20 +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
Oliver Günther
bececbce8f
Integrate openproject-announcements
...
This commit integrates the announcement functionality of
openproject-announcements.
It extends showing the announcement on the homescreen.
2016-04-28 14:55:23 +02:00
Stefan Botzenhart
1c01b5801e
Use login_as helper method throughout all specs
2015-10-02 16:50:57 +02:00
Henriette Dinger
cf38af63eb
Use generic classes for the homescreen blocks and update the LSG
2015-09-16 08:40:54 +02:00
Oliver Günther
fecd3b3b3e
Simple API for managing the homescreen content
...
This commit alleviates the homescreen management from both core and
plugins, in order to simply add and remove blocks.
Also contains refactoring from review
* Consistent block and variable usage
* Removed unused labels
* Avoid word breaks in multiline enumerations and remove margin from enumerations
2015-09-10 17:12:34 +02:00
Oliver Günther
c49b59b7f2
Add controller and routing specs
2015-09-10 17:12:18 +02:00
Oliver Günther
15273724c3
Homescreen functionality
...
This commit adds the homescreen functionality to OpenProject,
replacing the default welcome screen.
This adds support for:
* Blocks of content for various privilege levels (latest projects, users, news, etc.)
* Links to common functionality (administration, community)
Relevant work package:
https://community.openproject.org/work_packages/19722
2015-09-10 17:12:15 +02:00