Commit Graph

60 Commits

Author SHA1 Message Date
René Pfeuffer
0695ca3bac Add import protocol (#1558)
Adds a protocol for repository imports (either from an URL, a dump file or a SCM-Manager repository archive).
This protocol documents single steps of an import, the time and the user and is accessible via a dedicated REST
endpoint or a simple ui.

The id of the log is added to the repository imported event, so that plugins like the landingpage or mail can link to these logs.
2021-02-26 13:52:29 +01:00
Konstantin Schaper
3a8d031ed5 Introduce stale while revalidate pattern (#1555)
This Improves the frontend performance with stale while
revalidate pattern.

There are noticeable performance problems in the frontend that
needed addressing. While implementing the stale-while-revalidate
pattern to display cached responses while re-fetching up-to-date
data in the background, in the same vein we used the opportunity
to remove legacy code involving redux as much as possible,
cleaned up many components and converted them to functional
react components.

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2021-02-24 08:17:40 +01:00
Florian Scholdei
f4d4d3a8c6 Add missing subtitles (#1496)
Add the last missing subtitles in the scmm core.
2021-01-13 09:25:58 +01:00
Florian Scholdei
88b93dc8b8 Feature/profile navigation (#1464)
- Fix bug where profile settings wasn't shown if user cannot change password
- Add missing "ApiKey" entry in the single user menu

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
2020-12-16 09:23:05 +01:00
Eduard Heimbuch
dffe466405 split AddRepository component into two separate components to simplify the state handling 2020-12-02 13:26:31 +01:00
Eduard Heimbuch
10ed51733c Integrate import repository function into ui 2020-11-25 11:23:43 +01:00
Eduard Heimbuch
ff2b4d8acd refactor RepositoryForm.tsx to FC 2020-11-25 09:40:10 +01:00
Sebastian Sdorra
a94993274a Resolve plugin SystemJS modules to their correct bundle location 2020-10-14 08:06:15 +02:00
Sebastian Sdorra
22d5176d1a Translate SystemJS bundle names before loading
We remove @scm-manager/ prefix and add append .bundle.js before loading
modules.
2020-10-13 16:38:22 +02:00
René Pfeuffer
ec57dc0731 Add UI for api keys 2020-10-05 10:53:30 +02:00
René Pfeuffer
bbfe2b08bc Extract common function 'matchedUrl' 2020-09-18 17:38:10 +02:00
René Pfeuffer
4523e22feb Extract common function 'stripEndingSlash' 2020-09-18 17:20:54 +02:00
René Pfeuffer
0414da0f32 Add UI for namespace permissions 2020-09-18 14:31:45 +02:00
René Pfeuffer
2cfdaf1b0b Filer repositories in UI by namespace 2020-09-10 10:15:42 +02:00
Eduard Heimbuch
9ee7c3ff1c reset the redux state if the token is expired and the user still uses the web ui 2020-08-28 15:39:58 +02:00
Konstantin Schaper
b4c5f49858 Bugfix/link not found (#1296)
Redirect to login page if anonymous tries to access a page without permission

Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-08-27 13:20:43 +02:00
Sebastian Sdorra
20d34a8491 Replace refresh of token expired banner with hard login link 2020-08-27 10:51:21 +02:00
Sebastian Sdorra
6a3712e029 Merge pull request #1289 from scm-manager/bugfix/plugin_loading_failed_message
show error and helpful message if plugin loading failed
2020-08-13 08:55:22 +02:00
Sebastian Sdorra
7d80ff36fa Merge with develop branch 2020-08-12 14:30:26 +02:00
Eduard Heimbuch
1db6545167 show error and helpful message if plugin loading failed 2020-08-12 11:20:47 +02:00
Sebastian Sdorra
6fbb3b9d53 Remove replaceSpacesInTestId and normalize test id in createAttributesFroTesting 2020-08-12 10:54:16 +02:00
Eduard Heimbuch
c1cfff603b fix review findings 2020-08-12 10:05:36 +02:00
Eduard Heimbuch
5e7739480b cleanup 2020-08-10 09:28:54 +02:00
Eduard Heimbuch
914f5eb4bb Show session expired warning if the jwt token is expired 2020-08-07 10:07:44 +02:00
Eduard Heimbuch
aba33aca67 fix redirects 2020-08-04 11:41:00 +02:00
Eduard Heimbuch
c8a111f78e fix redirects on protected routes for anonymous user 2020-08-04 09:39:37 +02:00
Eduard Heimbuch
4c9e96f7e2 add anonymous mode for webclient / change footer and redirects if user is anonymous / add login button if user is anonymous 2020-08-03 17:53:10 +02:00
Eduard Heimbuch
4290ca4077 add config form for public keys 2020-07-27 14:52:46 +02:00
Sebastian Sdorra
13633fb57e un collapse menu on each interaction with it 2020-03-31 11:00:07 +02:00
Florian Scholdei
b438cbdebc Fix behavior of secondary navigation and content (with different display sizes) 2020-03-25 15:35:46 +01:00
Florian Scholdei
f1b34eb502 Changeover to MIT license (#1066)
* prepare license-maven-plugin for license migration
* added license mapping for tsx files and added some more excludes
* Changeover to MIT license
* Fix build problems
* Delete old remaining licenses
* Add more exclude path for license checker
* Rename included netbeans license, add exclude .m2/repository/
* Specify .m2 exclude because not only repository/, also wrapper/ must match
* Add .cache/ exclude for license check
* Modify formatting of license in java classes to comply with convention and IDE
* Add IntelliJ documentation for license configuration
* Update CHANGELOG.md
* Exclude tmp/workspace/ dir for license check
* Edit README.md

Co-authored-by: Sebastian Sdorra <sebastian.sdorra@cloudogu.com>
2020-03-23 15:35:58 +01:00
René Pfeuffer
c4a6f5a978 Rename subnavigation component 2020-03-11 16:30:48 +01:00
Eduard Heimbuch
13799044bd use position sticky to avoid css glitches // cleanup 2020-03-10 10:45:37 +01:00
Eduard Heimbuch
e110033e3b fix review findings 2020-03-02 14:13:51 +01:00
Eduard Heimbuch
5624717bc0 merge with default 2020-02-28 15:13:22 +01:00
Eduard Heimbuch
f8720087a1 refactor 2020-02-27 09:27:02 +01:00
Eduard Heimbuch
61d7d5e6dd Add footer extension points for links and avatar 2020-02-18 13:10:37 +01:00
Eduard Heimbuch
0d546755a9 optimize all imports in ui-webapp and reformat with prettier 2020-01-08 15:57:13 +01:00
Eduard Heimbuch
a43ffacf03 fix a ton of typescript errors 2020-01-08 13:40:07 +01:00
Florian Scholdei
a04e05bf9b Move Button to right side (and remove doubled note) 2019-11-20 16:14:50 +01:00
Sebastian Sdorra
f5fb4fb11a fix sonarqube warning about js array sort 2019-10-30 14:52:46 +01:00
Sebastian Sdorra
7b5493df31 merge with branch feature/update_react_i18next 2019-10-24 14:22:39 +02:00
Florian Scholdei
db075974db Migrate react-i18next translate components 2019-10-23 15:47:08 +02:00
Sebastian Sdorra
8035587f6f added cache and x-requested-with header to bundle requests 2019-10-22 14:00:43 +02:00
Sebastian Sdorra
4bb8e6153b apply eslint and prettier rules 2019-10-21 10:57:56 +02:00
Sebastian Sdorra
490418d06e apply prettier, removed flow related config and added tsconfig 2019-10-20 18:02:52 +02:00
Sebastian Sdorra
6e7a08a3bb use reflow to migrate from flow to typescript 2019-10-19 16:38:07 +02:00
Rene Pfeuffer
b2a3bd183c Use formatting from prettier 2019-10-17 12:08:39 +02:00
Eduard Heimbuch
b0cd315278 merge 2019-10-17 10:01:22 +02:00
Rene Pfeuffer
2b98316dca Remove double import 2019-10-17 09:53:02 +02:00