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>
* Reduce spacing per level in op-project-autocompleter
This used to be 20px per level, but is now reduced to 16px, or 1rem, to
align with `spot-list`
* Fix op-project-autocompleter appendTo and disabled reason
The disabled reason text was shown even if the item was not disabled.
This is fixed here. Also, the op-project-autocompleter appended the
results modal to `body` by default, but that screws up scrolling
oftentimes, so here it is changed back to open in-context by default.
* Disable parent projects of search results
In project-include, parent projects of search results were still
clickable. This behaviour was not to spec, so we now disable projects
that were not directly search results.
* Disable projects that are not search results
In the global project select drop-modal,
all projects were clickable before this.
However, when a project was shown only because
child projects matched the search criteria, it
should be disabled. This commit fixes that.
* Always open project select on top in notification settings
* Fix styling issues in op-project-autocompleter
* Fix text color for list items in project drop modals
* Auto-open project dropdown in work package table
* Fix tooltip being cut off by overflow: auto in project list
* Fix failing spec
* Fix failing spec
* Fix linting errors
* Fix onchange for empty project select on work package move page
* Fix linting errors
* Fix the way focus works in inline create
* Adapt spec to match disabled item
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
* Fix some ium stylings
* Extend create service to also test with empty names
* Add PrincipalLike type to pass around non-created placeholder refs
* Add icon-context
* Move principal rendering to its own module
* Fix emit create new placeholder to principals
* Revert op-principal for now
* Add memberships form API to properly post
* Fix types for returned principals
* Move untilDestroyed in role
* Filter input if not string in role-search
* Pass correct inputs to success component
* Return principal after saving membership
* Fix small stuff around the ium
* Fix the way HalResources are selected and passed
* Move principal module to be exported by common
* Disable quotemark in tslint until eslint is enabled
* Fix image path in success
* Adapt modal to run all steps in one within the modal helper component
* Several fixes to modals
* Fix ium success component styles,
* Registration modal y-overflow
* Add SMTP parameters to .env.example
* Add disabled option to op-option-list, disabled placeholder users for non-ee instances
* Add correct ee link to placeholder user option
* Fix build
* Removed unused sass files
* Fix principal search not found indicator, added placeholder add image
* Fix enterprise edition url, use dirty instead of touched check
* Use backend class names for frontend principal types
* Fix duplicate import and principal type usage
* Also disable banners if with_ee is present in test
* Extend specs for placeholders
* Fix disabled attribute
* Extend spec WIP
* Improved inline-validation styles, fixed more PrincipalType usages
* Add group happy path test, fix more PrincipalType usage
* Fix a translation
* Revert line deletion
* Rewrite same spec examples into shared examples
* Fix name of shared example
* Dont run assets:clean to remove angular assets
* Output whether assets are there at all
* Update user-avatar usages to principal
* Fix some op-principal usages
* Fix principal typing
* Remove ls of non-existent directory
* Rename more user-avatar instances
* Avatars now render correctly
* Fix an op-principal instance, default to avatar class for avatars
* Always add principal id to default principal tag
* Small fixes to op-principal
* Fix multiline user display
* Dirty fix for capybara click events
* Update avatar sizing
* Fixed some specs
* Fix unit specs
* Added op-link styles
* Fix add placeholder image link
* Remove byebug debugger statements
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
* Add new button added to select-edit-field
* Permissions Service + show button if canInviteUsersToProject
* Permissions Service + show button if canInviteUsersToProject
* Add initial invite user modal
* Small change to invite user modal
* Small use rmodal changes
* Builds
* Added invite user modal title translation
* Changed modal to module
* Figured out basic modal setup
* Fixed build
* Started adding option-list component
* Adding reactive forms
* vim
* Reactive forms working for option-list
* op-form-field is implemented, project-selection step works
* Working on principal step
* Basics of principal selection are done
* Remove console logs
* Added role step and role api bindings, updated directory structure
* Added basics of message step
* Added summary page
* Add in-project check for selected principal
* Add documentation for principal filters
* Create modal-heading component
* Fix principal emit
* Add API calls to summary component
* Work on translations, rework close fn
* Added translations
* Fixed styling
* Add autofocus, fix typing
* Improve typing
* Add form-binding directive to fix form-field
* Fixed typescript errors
* Fix more translations
* Codeclimate and TSLint errors
* Failing test commented with TODO
* Codeclimate fixes
* Codeclimate fixes
* Open invite user modal from user selection
* Remove console and debugger calls
* Opening modal from CreateAutocompleterComponent
* Add new button added to select-edit-field
* Permissions Service + show button if canInviteUsersToProject
* Permissions Service + show button if canInviteUsersToProject
* Codeclimate and TSLint errors
* Failing test commented with TODO
* Codeclimate fixes
* Codeclimate fixes
* Add initial invite user modal
* Small change to invite user modal
* Small use rmodal changes
* Builds
* Added invite user modal title translation
* Changed modal to module
* Figured out basic modal setup
* Fixed build
* Started adding option-list component
* Adding reactive forms
* vim
* Reactive forms working for option-list
* op-form-field is implemented, project-selection step works
* Working on principal step
* Basics of principal selection are done
* Remove console logs
* Added role step and role api bindings, updated directory structure
* Added basics of message step
* Added summary page
* Add in-project check for selected principal
* Add documentation for principal filters
* Create modal-heading component
* Fix principal emit
* Add API calls to summary component
* Work on translations, rework close fn
* Added translations
* Fixed styling
* Add autofocus, fix typing
* Improve typing
* Add form-binding directive to fix form-field
* Fixed typescript errors
* Fix more translations
* Refactor/op modal (#8978)
* Initial modal refactoring
* Updated modal imports
* More modal module imports
* Fix one more import
* Fixed some styles
* Fixed failing modal specs
* Fix more spec selectors
* Fix more specs
* Updated backend modals
* Improved code style
* Fix export modal styles
* Fix wiki export modal
* Fix more specs
* Fix webhooks modal
* Added loading indicator back into modals
* Fixed wp preview modal
* InviteUserButtonComponent in
* InviteUserButtonComponent in
* InviteUserButtonComponent in MultiSelectEditFieldComponent and SelectEditFieldComponent
* Remove extraneous module
* Add Dragula import
* Remove empty spec
* Fix option-list component
* Remove group creation from invite user modal
* Write feature spec
* Fix TS errors
* Add Placeholder and Group apis to the frontend
* Better api typing
* Remove unnecessary interface
* Remove group creation call
Co-authored-by: Benjamin Bädorf <b.baedorf@openproject.com>
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
Co-authored-by: Benjamin Bädorf <hello@benjaminbaedorf.eu>
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
* Move development docker-compose file to the main directory
This requires us to move some other files around, like the pullpreview and example docker-compose file for production
setups. This commit also does some housekeeping, like removing some old files and deduping configuration.
* Updated to selenium grid
* Fix in-Docker Selenium tests
The Selenium tests now run inside a Docker Chrome Container. Backwards compatability with non-docker setups is not
guaranteed, though it should not be hard to implement with a couple of small fixes.
* Updated docker development documentation
* Improved test timings, changed the documentation
* Updated docker testing again
* Run npm in the frontend directory
* Really run npm in the frontend directory
* Also run npm in frontend when setting up travis cache
* Change directory for one command only
* Change default test driver name
* CI test change fixes
* Fixed syntax error
* Added dev check
* Trying to fix firefox resizing
* Trying to get tests running
* Stop resizing firefox
* Fixed apple icon spec
* fix host in url helpers for omniauth spec
* Fix omniauth specs
* Fix docs
* Small fixes to docker tests
* Added package.json back in
* Change env variables
Co-authored-by: Markus Kahl <machisuji@gmail.com>
There are now separate containers for testing purposes, and the frontend container is a node-only image. Containers run
with a user that has the current user id and gid, making sure that any files that are installed by bundler or npm are
user-owned.
Selenium tests can be ran, but not all of them work yet.
* ove reporting and reporting_engine js to frontend page
* Replace webhook assets javascript
* Add path augment service to dynamically load scripts
* Remove JS-Files that are not used/not needed any more
* Include AugmentingModule correctly
* Remove special handling for checkbox selection which is outdated and two jquery libs that are not used any more
* Load scripts dynamically that are not needed globally
* Move plugin JS to frontend
* Move toggable fieldsets to global listeners
* Move top-menu to global listeners and convert to TS
* Move action_menu to frontend and port to TS
* Move settings listener to frontend
* Remove global js assets that were not used anyway
* Move date range to timelog dynamic script where it's still used until removed
* Move colors to global-listeners and port to TS
* Replace tooltip with simple form instructions on the one place used
Tooltips were only used at the one place in our application, when changing a users password.
We can simply remove it there and use a modern solution the next time we need a tooltip
* Move danger zone validation to frontend and port to TS
* Move colorcontrast to backlogs vendor where it's used now
* Remove contents of application.js.erb
* Move project and user scripts to dynamically loaded
* Move onboarding tour to dynamically loaded
* Use correct syntax for jQuery so that $ is known keyword within this function
* Fix onboarding tour
* Fix onboarding tour for scrum tour
* Fix specs after moving JS
* Remove application.js.erb
* Move locales and ckeditor to the frontend to dynamically load
* Remove bundles caches
These are no longer being used since angular cli
* Ensure locales are exported before angular
Co-authored-by: Henriette Darge <h.darge@openproject.com>