* wp deletion modal changes
* fix test fails
* invite user modal changes
* fix eslint issus and add cancel button to summary modal
* add widget modal changes
* new board modal changes
* form configuration modal changes and remove unnecessary class
* WP table export modal changes
* WP save query modal changes
* visibility setting modal changes
* help text modal changes
* help video modal changes
* 2FA password confimation modal changes
* Delete EE token modal changes
* fix eslint errors
* eslint does not check the unbound method
* minor changes to switch the buttons and icon
* fix specs failing for invite user modal changes
* use the correct translations and revert the previous merge
* Fix opAutofocus directive
The opAutofocus directive was not setting focus if used like a normal
`autofocus` HTML attribute:
```
<input opAutofocus />
```
The above example would not produce a focus, because counterintuitively
Angular treats the default input to the directive here as an empty
string instead of undefined. This causes the default value of `true` NOT
to be set. Instead, the empty string was treated like the falsy value
it is.
* add focus on invite user modal while opening
* fix eslint errors
* eslint errors fix
* add icon delete for deleting ee token
* wp delete modal changes: remove unnecessary loading and change op-icon to a span
* remove unused components
* use spot-list for add-widget modal
* wp table configuration modal changes
* fix finding list item in add widget modal specs
* Chore/modal spacing (#11314)
* [chore] reworked spot-container spacings
* [chore] applied spot-container to spot-modal--body
- added style override for spacing within modal body
* [chore] removed unused modal footer class
* Remove scrollbar from project-include
Project include was creating scrollbars for the project list even if
it was not needed. This was caused by tooltips that were hidden in the
background but still affecting layouting.
This commit hides the tooltips correctly, and aligns the HTML structure
of project include to match that of file link list. A minimum height is
added to the project include list to make sure tooltips are readable even
if there is only one item in the list.
* [chore] rework of datepicker modal
- changed spacings, removed inner margins
- changed anchors to buttons (spot-link)
- added flatpickr override
- removed min-height
- moved project include min-height to root element
* [chore] fixed test selector
Co-authored-by: Benjamin Bädorf <b.baedorf@openproject.com>
* redesign the save query modal changes
* remove op-form class from invite user modal since we have spot-container now
* add text and title for ee modal deletion
* showing the error message when it is not valid value in invite user modal
* close the inroduction video modal with button
* close the dynamic content modal without jquery
* fx eslint warnnings
* webhook response modal
* remove multiple cancel translation in invite user modal
* fix indentation in html file
Co-authored-by: Benjamin Bädorf <b.baedorf@openproject.com>
Co-authored-by: Eric Schubert <38206611+Kharonus@users.noreply.github.com>
* `op-form-field` was used both as a BEM block as well as a component.
This commit removes usages of `op-form-field` in both instances.
* It changes all usages of `opFormBinding` to `spotFormBinding`.
* It removes all old files related to `op-form-field`.
* validate project in invite modal
The user might have the manage_member permission in a project but not
necessarily in the one the modal is opened in.
* resurface invite_user_modal spec deleted in b50298eb30
* allows users without manage_placeholder to add placeholder to project
* Started experimenting with capabilities
* Started adding akita store
* Use current user store to filter projects
* Work on integrating capabilities
* Added capability checks
* Fix project select
* Working on ium specs
* Change ng select option list format
* Fix proejct search label
* Fix some specs
* Fix issue with principal select
* Add spec for missing placeholder user capabilities
* Add new capability specs, fix existing ones
* Fix import
* Update shrinkwrap
* Add JSDoc deprecations
Co-authored-by: Oliver Günther <mail@oliverguenther.de>
* Improve invite button styling
* Put buttons on the right hand side inside modals, highlight next buttons, show newlines for invitation message
* Fix form-field invalid styles, fix some i18n typos
* Fix modal close button position
* Updat emobile and scroll styling
* Show email instead of name when inviting a new user
* Remove close on escape
* Force autofocus of message input
* Fix typing
* Update texts
* Fix translation string, update op-link inline styles, add autosizing to textarea
* Injecting CreateAutocompleterComponent to trigger onUserInvited
* Dirty fix for the data coming out of the modal
* Adapt Constructor of TimeEntryWorkPackageAutocompleterComponent
Co-authored-by: Aleix Suau <info@macrofonoestudio.es>
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
* Fix placeholder path
* Revert "Output whether assets are there at all"
This reverts commit 42219c2755.
Co-authored-by: Benjamin Bädorf <b.baedorf@openproject.com>
* 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>