16 Commits

Author SHA1 Message Date
Jan Sandbrink ba2cec4629 Remove Bootsnap
It's a gem that is intimately coupled with the
implementation of Ruby, which adds chances to
introduce errors in random pieces of code that
would not exist otherwise.

Capturing the room temperature among core contributors
to OpenProject showed that no one was there to defend
the presence of Bootsnap and some people (including myself)
had an opinion on removing it.
2026-05-06 07:52:03 +02:00
ulferts 1ac5e14827 bump carrierwave to 2.2.6 2026-02-16 17:54:02 +01:00
Klaus Zanders fa8bb7b98b Update ruby to 3.4.2 2025-02-17 09:58:44 +01:00
Henriette Darge d61811deb4 Remove the icon generator script because the used library is not working for months already and we want to enforce the switch to the Ociticons 2024-06-10 14:14:07 +02:00
Eric Guo ea1b0d0016 Bump carrierwave to v1.3.4 2024-05-03 08:33:09 +08:00
as-op b1bdf9e9c9 [#48464] Remove export options from backlog module
https://community.openproject.org/work_packages/48464
2023-07-17 11:56:51 +02:00
Wieland Lindenthal bad7532b6c Improving the README for dev env for Nix
Makes the headline clearer that it is about using Nix when developing
OpenProjec (and not using OpenProject in production).

As this is part of our public repo we should not invite readers to
directly contact developers. It makes sense the everyone in the
team knows who to contact for Nix support for development. However,
that is an internal invitation.
2023-07-01 17:22:25 +02:00
Christophe Bliard 844c7bfe5d Remove faker gem and sample_data:projects task 2023-01-02 11:06:55 +01:00
ulferts ca361b017b remove legacy specs completely 2022-10-17 14:23:39 +02:00
Benjamin Bädorf a9e29279ea Feature/storybook (#10797)
Squash commit of storybook addition to aid design system documentation efforts.

The older commit titles were:

* Initial storybook commit

* Fix documentation.json links

* Don't track documentation.json in git

* Enable sass in storybook

* Initial version of a story that uses angular components

* Remove example stories, clean up button story

* More example stories

* Fix sb build

* Always use dev

* Try without auth header

* Update workflow name

* More logs

* Check if token set

* Use release/storybook branch for testing

* Send ref input to workflow

* Escape input to curl call

* Adding logging

* Different type of escaping

* Fix JOSN

* Use dev branch for opf/design-system storybook publishing

* Add plugin to message path to parent window

* Remove extraneous story

* Add a ton of docs

* Update stories

* Fix syntax error caused by multiple newlines inside of a JSX component

* Add text-field story

* Add basic html stories that don't work yet

* Try to get plain HTML examples working

* HTML Examples work, but slowly revert to components anyway

* Fix HTML examples

* Remove extraneous files

* Put storybook eslint rules back in

* Improve docs

* Show docs tab by default

* Add pullpreview for storybook

* Use the same pullpreview tag for both storybook and normal deployments

* Change name of second pullpreview workflow

* Pin node version to 16.17.0

* Initial update to docs

Added/updated:

Foundation pages:

- Colours (major update)
- Shadows (minor)
- Typography (new)

Blocks

- Checkbox (minor)
- Action bar (major)
- Buttons (new)
- Link (major)
- Modal Dialogue (new)
- Selector Field (new)

* Make sure all code is available during storybook pp build

* Change storybook pullpreview file name

* Add production target to docker-compose sb pp

* Fix acme check for sb pp

* Only run cd-storybook on dev branch

* Run without https on 8080

* Added intro and new page

- Introduction renamed to "Design System", page rewritten completely
- Added page "Devices and Accessibility"

* Remove domain from caddy

* Add port to listen command

* Remove double pullpreview workflows

* Added Divider component

* Change sorting of stories

* Update section titles and order for styles and blocks

* add extra action bar story

* Updated organising + new page

- Updated organisation into Styles, Components and Patterns.
- Added page "Using Storybook" (mostly a skeleton for now)

* Added note about colours not being implemented yet

* Minor

Co-authored-by: Parimal Satyal <88370597+psatyal@users.noreply.github.com>
2022-09-19 14:39:15 +00:00
Benjamin Bädorf b7f732ddcc Feature/41135 include all subprojects (#10413)
* Add new query attribute include_subprojects

* Set include_subprojects in factories

* Replace create_query helper with default endpoint

* Adapt spec to new query create service

* Add spec for changed subproject behavior

* Extend project filter with replaced values and add spec

* Fix spec trying to save default query

* Fix ordered_work_packages now that we're base service compatible

* Basic frontend for include all subprojects

* Fix disabled state, update button colors

* Add new query attribute include_subprojects

* Set include_subprojects in factories

* Replace create_query helper with default endpoint

* Adapt spec to new query create service

* Add spec for changed subproject behavior

* Extend project filter with replaced values and add spec

* Add a ParserStruct overriding Enumerable#group_by

* Fix ordered_work_packages now that we're base service compatible

* Add tooltip

* Add tooltips to include projects

* Add is parameter to query props for query space

* Fix specs, add i18n strings

* Correctly parse and update the query with includeSubprojects

* FIx most spec

* Fix badge count for team planner spec, fix duplicated where def in project filter

* Only load project list if opening drop modal

* Expect that sub_sub_bug is also present

* I18nify the strings

* Fix typo

* Fix specs

* Fix linting errors

* Fix specs

* Fix linting errors

* Fix linting errors

* Fix failing specs

Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2022-04-07 11:40:36 +00:00
Benjamin Bädorf 2f99c9f5ad First version of design system
* Add SPOT foundation styles

* Initial work on buttons

* Implement basic examples page

* Improve spot-checkbox

* Add outline buttons in HTML

* Checkbox works

* Add filter chips

* Initial text field implementation

* Chip field initial implementation, add filter-chip component

* Keep old styleguide page

* Add drop modal component

* Finish checkbox list

* Improve action bar

* Add drop modal alignment options

* Fix drop modal zindex

* Make sure clicks do not close the drop modal, add escape closing event for drop modal

* Add spot-body

* Don't hide drop modal body via display

* Update buttons and colors

* Add basic button type

* Set line height for typography styles

* Add basic toggle component

* Better docs

* Fix toggle font size

* Add current date color

* Fix names for form components

* Fix package-lock.json

Co-authored-by: Henriette Darge <h.darge@openproject.com>
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2022-02-17 15:04:19 +01:00
Oliver Günther fc31d31f6d Merge remote-tracking branch 'origin/dev' into feature/38520-Sidebar-in-Notification-Center-with-project-filter 2021-10-05 16:36:26 +02:00
Markus Kahl c9256e644c only use puma, introduce rack-timeout (#9718)
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
2021-10-04 15:42:37 +02:00
Benjamin Bädorf 8f54d68124 Add icons 2021-09-22 17:48:20 +02:00
Benjamin Bädorf 8ccbc46277 Add basic nix development shell (#9162)
* Add basic nix development shell

* Use google-chrome instead of chromium

* Move nix stuff to subdirectory

* Update gemset, improve readme, fix shell

* Update nix README, remove .envrc
2021-05-10 10:44:08 +00:00