Commit Graph

808 Commits

Author SHA1 Message Date
Sebastian Sdorra
e2d63cc2a1 Use more accurate language detection for syntax highlighting (#1891)
Updated spotter to version 4 in order to get prism syntax mode for detected coding languages.
Expose syntax modes of coding languages as headers on content endpoint and as fields on diff dto.
Remove leading line break on search result fragments.
Use mark instead of span or strong for highlighted search results.
Add option to use syntax highlighting in TextHitField component.

Co-authored-by: Matthias Thieroff <matthias.thieroff@cloudogu.com>
2021-12-13 17:03:08 +01:00
Sebastian Sdorra
6eba01161f Integrate Plugin Center myCloudogu Authentication (#1884)
Allows scm-manager instances to authenticate with the configured plugin center. If the default plugin center is used, a myCloudogu account is used for authentication which in turn enables downloading special myCloudogu plugins directly through the plugin administration page.

Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
Co-authored-by: Matthias Thieroff <93515444+mthieroff@users.noreply.github.com>
Co-authored-by: Philipp Ahrendt <philipp.ahrendt@cloudogu.com>
2021-12-13 15:15:57 +01:00
Eduard Heimbuch
b8d6c219ee Add extension point to branches overview (#1888)
Prepare branches overview to show additional branch details.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-12-10 11:04:59 +01:00
Eduard Heimbuch
289175331f Fix es lint errors and warnings and enforce es lint as build breaker. (#1878)
Co-authored-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
2021-12-09 09:12:02 +01:00
Sebastian Sdorra
ad5bbfeef3 Fix search highlighting conflict with jsx code (#1886)
Replaces "<>", "</>" highlighting marks with "<|[[--" and "--]]|>" to avoid conflicts when highlighting jsx code.
2021-12-06 16:49:31 +01:00
Eduard Heimbuch
f7d8636b35 Fix footer links (#1882)
Fix footer links. Before each personal link were redirected to the theme page.
2021-12-03 08:50:37 +01:00
Florian Scholdei
7f807a8e0f Improve headings structure (#1883)
The content of the SCM-Manager should be made accessible and usable in a sensibly structured way so that web content is easy to use for ever user.
2021-12-02 08:45:50 +01:00
Eduard Heimbuch
9cc134f5a8 Feature/branch details (#1876)
Enrich branch overview with more details like last committer and ahead/behind commits. Since calculating this information is pretty intense, we request it in chunks to prevent very long loading times. Also we cache the results in frontend and backend.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-12-01 14:19:18 +01:00
Eduard Heimbuch
5eb1d9cd22 Clean up html structure (#1869)
Fix different html syntax errors to improve a11y.
2021-11-29 13:57:05 +01:00
Konstantin Schaper
542a5aac59 upgrade query-string dependency version (#1875)
* upgrade query-string dependency version

* fix typings and implementation for getQueryStringFromLocation
2021-11-29 11:21:45 +01:00
Sebastian Sdorra
9dee08f68d Update Gradle to 7.3 (#1873)
Update Gradle to 7.3. in order to profit from the performance improvement and to prepare for dependency lockfiles. Due to the upgrade to 7.x we had to use a license plugin which supports Gradle 7.
2021-11-29 09:05:24 +01:00
CES Marvin
47842cc071 Prepare for next development iteration 2021-11-19 14:19:40 +00:00
CES Marvin
e53476632b Release version 2.27.2 2021-11-19 13:48:55 +00:00
Eduard Heimbuch
e58d3dd70c Fix repository file search (#1867) 2021-11-19 14:38:11 +01:00
CES Marvin
942b9c7a91 Prepare for next development iteration 2021-11-18 08:59:35 +00:00
CES Marvin
0ead490331 Release version 2.27.1 2021-11-18 08:24:10 +00:00
CES Marvin
7ad3b39e00 Prepare for next development iteration 2021-11-16 16:18:15 +00:00
CES Marvin
e05136e936 Release version 2.27.0 2021-11-16 15:51:01 +00:00
René Pfeuffer
f45fd47cdd Fix color for available plugins
Fixes the background of the plugins in the "Available Plugins" section in the settings.
2021-11-16 14:55:06 +01:00
Eduard Heimbuch
dc5f7d0f23 Feature/fix tabulator stops (#1831)
Add tab stops to action to increase accessibility of SCM-Manager with keyboard only usage. Also add a focus trap for modals to ensure the actions inside the modal can be used without losing the focus.

Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
2021-11-16 11:35:58 +01:00
René Pfeuffer
0530e3864f Render disabled buttons as disabled (#1858) 2021-11-16 06:57:57 +01:00
Eduard Heimbuch
749c08c83f Add rounded borders to repository contact avatar 2021-11-12 12:50:20 +01:00
Eduard Heimbuch
4ed6a40cde Add contact icon to repository overview (#1855)
Show repository contact on repository overview with "mail to" action if contact is set. Click on this icon to send a mail to the contact.
2021-11-11 14:50:11 +01:00
Sebastian Sdorra
2938074e1a Update to webpack v5 (#1848)
Update webpack in the following components to version 5:

ui-styles (StyleGuide)
ui-components (Storybook)
ui-scripts (gradle run/build)
This change will also fix a circular dependency between ui-api and ui-components.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-11-10 10:10:17 +01:00
CES Marvin
32ae9126ea Prepare for next development iteration 2021-11-09 16:46:10 +00:00
CES Marvin
b0ec846a73 Release version 2.26.1 2021-11-09 16:16:24 +00:00
Eduard Heimbuch
cb7dbb0578 Fix useChangesets hook limit and refactor ChangesetRow.tsx 2021-11-08 14:20:11 +01:00
CES Marvin
2e01505e34 Prepare for next development iteration 2021-11-04 13:24:39 +00:00
CES Marvin
b5343bf714 Release version 2.26.0 2021-11-04 12:57:47 +00:00
Eduard Heimbuch
6f61fefec5 Improve a11y (#1841)
Improve accessibility by removing unnecessary tags without hrefs. Also remove many eslint errors and warnings.
2021-11-04 09:16:08 +01:00
Sebastian Sdorra
0efdd2a483 Add experimental high contrast mode (#1845)
Add an experimental high contrast color theme to SCM-Manager. The high contrast mode uses a dark background and color with a high contrast for a better accessibility.
The change adds the theme to ui-styles and theme switcher to the storybook of ui-components.
2021-11-04 08:33:11 +01:00
Sebastian Sdorra
241dcb6f0c Add viewer for pdf files (#1843)
Adds an viewer for pdf files to the source code browser.
2021-11-03 14:47:14 +01:00
Eduard Heimbuch
0cc12ba061 Fix storyshots 2021-11-03 10:53:46 +01:00
Florian Scholdei
b896df5046 Add alternative text to controls to allow screen readers to read them aloud (#1840)
Add alternative text to controls to allow screen readers to read them aloud.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-11-03 10:11:40 +01:00
Eduard Heimbuch
b78742ed0b Read all errors with screen reader (#1839)
Make error notifications accessible for screen readers.
2021-11-03 08:14:54 +01:00
René Pfeuffer
e1a2d27256 Implement file lock for git (#1838)
Adds a "file lock" command that can be used to mark files as locked by a specific user. This command is implemented for git using a store to keep the locks.

Additionally, the Git LFS locking API is implemented.

To display locks, the scm-manager/scm-file-lock-plugin can be used.

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-11-01 16:54:58 +01:00
Sebastian Sdorra
87aea1936b Remove www from scm-manager.org url (#1837) 2021-10-28 11:00:24 +02:00
CES Marvin
3201cee91b Prepare for next development iteration 2021-10-21 12:54:14 +00:00
CES Marvin
241ea02c82 Release version 2.25.0 2021-10-21 12:23:34 +00:00
Konstantin Schaper
92e2093759 fix broken storybook story 2021-10-20 10:02:12 +02:00
Konstantin Schaper
57aacba03a New extension points for repository overview (#1828)
The landing-page-plugin is being reworked and integrated into the repository overview. This requires new extension points and slightly adjusted components to better match the repository overview page visually. Also, binder options can now be passed as an object which offer a new priority option that causes sorting in descending order.
2021-10-19 09:31:40 +02:00
Eduard Heimbuch
35f4cb3e61 Always show SCM-Manager footer (#1826) 2021-10-18 16:23:30 +02:00
Florian Scholdei
3cb8fb52bb Correct import in RepositoryGroupEntry (#1825)
* Move GroupEntries to ui-webapp

* Add changelog entry
2021-10-12 14:01:19 +02:00
CES Marvin
3a7e4845a1 Prepare for next development iteration 2021-10-07 14:47:34 +00:00
CES Marvin
264fd6b048 Release version 2.24.0 2021-10-07 14:23:06 +00:00
Sebastian Sdorra
1318f40e6d Fix bugs in svn and source tree for folders with a % in the name (#1818)
* Update svnkit to 1.10.3-scm1 to fix handling of path with % in the name
* Fix source tree and breadcrumb navigation for folders with a % in the name
2021-10-04 11:19:25 +02:00
Eduard Heimbuch
922dc27c49 Add delete method for configuration store (#1814)
Add method to delete configuration stores completely.
2021-09-30 08:54:22 +02:00
Florian Scholdei
cf7664ad1f Update Button.tsx 2021-09-16 17:56:04 +02:00
Florian Scholdei
2cb006d040 Replace styled-components with bulma helpers (#1783)
Use Bulma helpers whenever possible instead of custom styled components.
This pull request replaces primarily color definitions, spacing and flex instructions.
2021-09-15 17:40:08 +02:00
CES Marvin
a95a18512d Prepare for next development iteration 2021-09-08 12:07:31 +00:00