Commit graph

44 commits

Author SHA1 Message Date
e03a0fd233
Tag master with latest
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-26 19:17:28 +02:00
e424c9ef09
Settings and checks for maximum artifact size
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
Different archive backends may not cope well with large file sizes.
Additionally, Fling admins may want to restrict the maximum file size to
protect their server.
2020-07-26 10:34:05 +02:00
4401659b5c
Implement new API for user upload and artifacts
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-26 02:45:21 +02:00
e9ad499850
Use new API in DirectDownload, improve redirection
All checks were successful
continuous-integration/drone/push Build is passing
DirectDownload now uses the new Fling API, including one-time tokens for
download.

When accessing a fling, while loading the fling, instead of showing the
ArtifactList an empty page is shown. This way the redirection does not
leak through so visibly when using direct download and the loading of
the fling takes a bit longer.
2020-07-26 01:33:32 +02:00
0824d8367f
Change user unlock to new API
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-25 22:40:48 +02:00
5598cb5ecf
Finish fling settings
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-25 21:43:56 +02:00
232518bee4
PUT fling, purify state tree, start settings
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-25 14:07:23 +02:00
864e007cb3
Artifact download
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-21 22:01:37 +02:00
a07379ebad
Generate derived authentication tokens
All checks were successful
continuous-integration/drone/push Build is passing
Can be used to authorize download urls via query parameter since
the tokens can be used only once.
2020-07-21 21:24:10 +02:00
c07a7866ce
New Fling with new API
All checks were successful
continuous-integration/drone/push Build is passing
Only a crude implementation for now
2020-07-20 00:27:02 +02:00
3860ed9177
Upload with new API
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-19 23:45:22 +02:00
16b3318f92
Delete fling, fix race conditions
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-19 19:31:34 +02:00
0c1fe8efce
Remove invalid constraints, prepare python generator for deployment
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-13 21:55:02 +02:00
bcfbf349cd
Add security scheme to controller for client generation
All checks were successful
continuous-integration/drone/push Build is passing
Clients (at least javascript client) generated from the OpenAPI spec do add the
bearer token to the request without specifying the bearer requirement.
2020-07-13 16:20:13 +02:00
39fd416b4a
Use generated client in web interface
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-12 18:48:12 +02:00
428390b0e2
Build javascript client
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-12 08:45:07 +02:00
3679a9b501
Use valid semver and version update script
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-12 02:06:50 +02:00
c663ec5e73
Use standard generated hibernate time stamps
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-12 00:10:43 +02:00
3be61c4fa1
API Access Configuration, get Artifacts by fling id
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-11 22:14:23 +02:00
415687c601
Authorization and Authentication refactoring and tests
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-10 07:18:35 +02:00
00becacd47
Add test zips
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-05 20:16:59 +02:00
a66b51e1e5
Add unit tests
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-05 18:57:19 +02:00
2b18120c0b
Try client generator
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-03 21:02:48 +02:00
3a05120da4
API documentation 2020-07-03 20:57:36 +02:00
77ce39244d
Simplified API, refactoring 2020-07-03 20:53:04 +02:00
75b65f3f77
Add Codestyle definition, editorconfig
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-21 20:21:08 +02:00
23af542178
Use milliseconds as default Instant serialization/deserialization
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-21 17:32:56 +02:00
5c976fc9d9
Clean up warnings
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-21 13:47:51 +02:00
26efd11851
Handle all AuthenticationTokens
All checks were successful
continuous-integration/drone/push Build is passing
Do not error out when given another token than a Fling token. However, only a
valid FlingToken can grant access.
2020-06-15 21:36:07 +02:00
e59d8bba6a
Deploy build artifacts to nexus
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-12 20:38:30 +02:00
c9fa0c023e
Prepare deployment
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-11 22:56:31 +02:00
226d2802ef
Fix tests and add build pipeline
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-07 12:50:49 +02:00
18f035b7c2
User upload and Dropzone
Let users with rights to open fling also upload files if allowUpload set to true
for the fling
2020-06-05 21:45:07 +02:00
4d9b3d0d87
Fling User Download
File listing and dynamic download button
2020-06-04 22:28:30 +02:00
c1171e8376
Direct download
Implement direct download with online packaging
2020-05-31 14:41:04 +02:00
4618cc9bff
Landing page and user authorization for retrieving one fling 2020-05-29 18:08:18 +02:00
f502402cb6
Fling packaging and authorization
Allow users with a claim to the fling to download a fling as zip archive.
Package all artifacts belonging to a fling as zip file.
2020-05-24 19:52:14 +02:00
0fe28d3db8
Fling user access
Authentication for protected flings:
- Unlock screen
- Authentication backend
- Routes

Direct redirect for unprotected flings.
2020-05-24 17:06:59 +02:00
bc6c2eabba
Artifacts table columns: Name, Upload Date, Size
Fix the artifacts table columns. Serialize upload date instant as milliseconds
from epoch.
2020-05-23 19:22:41 +02:00
12729a51a9
Implement new fling modal
When clicking New in the navbar a modal pops up for creating a new fling.
2020-05-23 13:51:18 +02:00
7f4bc536b9
Implement auth code setting and reset of settings
AuthCode to protect a fling can now be set in settings. AuthCode was moved to
the Fling table. Only one auth code per fling is possible now. AuthCode is
stored hashed in the database.

Additionally, implement reset of settings (Cancel button) by reloading the fling
from the database.
2020-05-22 21:44:28 +02:00
b0a7e8b443
Expiration settings, protection settings, fix drop area hover
- Front end for expiration time/date
- Setting expiration via `PUT /fling/{flingId}`
- Settings for protection code enabled in front-end (no backend)
- Upload drop container used to loose focus when hovering over child elements.
  This is fixed now.
2020-05-21 16:54:42 +02:00
4ab3bf705e
Add delete and download to ArtifactControl
Download first gets an unprotected, temporary download URL. It then loads an
iframe with the retrieved URL, which causes to browser to download the file.
This is done to prevent a reload of the page while at the same time use the
standard browser file download functionality. Other solutions found cause
problems with bigger files since they download the file first and then generate
a binary blob in the DOM.

Delete just deletes an artifact and reloads the artifact list. A potential
problem could occur if the removal in the archive fails while the file is
already deleted from the database.

Signed-off-by: Armin Friedl <dev@friedl.net>
2020-05-17 23:18:26 +02:00
eb407f90b6
Fling Genesis
Basic Fling backend with admin interface.

Features:
- Basic admin site structure
- Token authorization
- Upload artifacts
- Change basic fling settings

Many things missing still or not fully functional.

Signed-off-by: Armin Friedl <dev@friedl.net>
2020-05-16 19:19:16 +02:00