170 Commits

Author SHA1 Message Date
a78e817657 feature (thumbnailer): add plugin type for thumbnail generation 2022-12-02 07:09:11 +11:00
8eb9ab0719 fix (404): 404 page issue in firefox 2022-11-25 16:45:25 +11:00
1d4773302e improve (static): server static file from fs in dev mode 2022-11-25 16:44:51 +11:00
ac7bf9f173 feature (dev): server static file from fs in dev mode 2022-11-23 15:19:18 +11:00
1eea60cfb0 feature (embed): embed frontend assets from the binary 2022-11-22 23:03:33 +11:00
df5371c7ee maintain (plugin): interface name for authorisation plugin 2022-11-14 19:54:22 +11:00
e0f2f29307 feature (htpasswd): new authentication middleware 2022-11-09 14:00:48 +11:00
34d8f0e44f improve (/about): add links to installed plugins 2022-10-12 00:10:54 +11:00
f3eaf35d84 fix (backendID): hide home when using shared link 2022-10-11 08:08:38 +11:00
9a6e24c296 feature (tagging): prepare the ground for a new tagging feature 2022-10-06 23:33:58 +11:00
3d3b59524a improve (template): contains function in template 2022-10-05 08:35:50 +11:00
8ad705b70c feature (tmpl): enable contains function in tmpl filter 2022-10-05 07:54:03 +11:00
01b418b608 fix (contentType): disable js in file cat API 2022-10-03 00:06:41 +11:00
7a76f7dcda maintain (logging): improve some log message 2022-09-28 22:52:33 +10:00
b9a177aa26 maintain (404): change 404 page 2022-09-21 17:01:12 +10:00
9d596704e7 feature (api): public api 2022-09-20 17:43:26 +10:00
7a9f94ce6d fix (middleware): "cannot parse time" issue causing infinite loop 2022-09-15 07:32:04 +10:00
e2874f2a9b improve (404): 404 errors 2022-09-14 23:55:11 +10:00
865442ea59 fix (vet): go vet - #505 2022-09-13 14:12:13 +10:00
76bf595e22 feature (token): token generation for API 2022-09-13 13:25:17 +10:00
18279dcb4e fix (middleware): broken build 2022-09-13 13:21:21 +10:00
3f933e08db feature (preflight): preflight to /api/files 2022-09-13 13:12:26 +10:00
66c6788b94 feature (doc): embed documentation 2022-09-13 12:53:02 +10:00
549d6805f0 feature (api): prepare api for public use 2022-09-05 11:59:28 +10:00
952f45097e feature (rest): setup for rest api 2022-09-04 18:39:34 +10:00
dd6f0ca407 feature (cancellation): logic to cancel request in client and server 2022-09-02 17:26:32 +10:00
231e5ba18d feature (auditing): pluggable auditing in admin console 2022-09-01 07:37:59 +10:00
a82177e719 maintain (ctx): pass app context as pointer 2022-08-30 17:27:23 +10:00
4f0741111b feature (auth): add machine_id in template binding 2022-08-28 22:04:50 +10:00
fea8c024c9 feature (middleware): add environment variable in template bind
This enable binding environment variable for things like hostname that
would look like '{{ .ENV_NAME }}.example.com'
2022-08-19 23:10:06 +10:00
a75a33d49b fix (share): access shared link multiple times issue
When trying to access a shared link protected with a password many
times over, user would see an ErrNotValid (case 2 from ShareVerifyProof in
ctrl/share.go). With this commit, we are making sure the proof cookie
doesn't grow more when trying to access the same link over and over again
2022-07-20 00:25:39 +10:00
1d47e557fc debug (log): expose additional info on debug more 2022-07-19 22:56:27 +10:00
9f7550938b fix (iframe): proof cookie should be iframe friendly
before this commit, we couldn't embed a shared link protected by a
password as it would show the following error: "Unauthorized Shared
space".
2022-07-16 18:59:53 +10:00
9a1de6253c feature (logging): additional logging info in debug mode 2022-07-14 13:27:21 +10:00
f72b630e50 fix (csp): csp policy on cat
The issue this is fixing is for the plg_opener_htmlframe which does
open html documents as an iframe. Without this, we couldn't load any
js at all which was causing issue to render things like markdown via
external libs and such
2022-05-13 08:43:47 +10:00
2e10feff4f feature (manifest): generate application manifest server side
the app manifest used to be statically generated meaning it would show
Filestash whenever user tries to install as an app. Now admin can
change that to show something else
2022-05-11 22:23:02 +10:00
4ec94902b5 fix (healthz): pass when using either http / https 2022-05-11 00:46:05 +10:00
e2b1b4f477 fix (constant): license info as code 2022-04-25 20:03:13 +10:00
f9e51482d5 feature (css): inject css as a plugin 2022-04-25 00:34:44 +10:00
b9279fa77f improve (iframe): warning with unsupported use case 2022-04-21 01:28:58 +10:00
b3762eff6a fix (regression): regression caught by e2e tests 2022-04-21 01:13:15 +10:00
629a80c836 fix (#469): allow cross domain iframe 2022-04-20 08:04:09 +10:00
f66408b6da fix (starter): issues in starter plugin 2022-02-17 08:35:24 +11:00
9171b6fb5e refactoring (config): separate config loading and saving
The idea is that we can now plug and play different logic for loading
and saving configuration data via a go generator built from plugins
2022-02-04 00:51:57 +11:00
625e0ed160 feature (sso): support for templating in attribute mapping 2022-02-01 22:22:23 +11:00
82e12ca1a6 fix (#422): retrocompatibility with authentication middleware 2022-02-01 17:24:27 +11:00
ab71c339dd feature (cookie split): split session cookie onto fixed size chunks - #422
* Fixed invalid cookie issue when session object is serialized into a string larger than 4KB.

* Update session.go

Removed comments

* Update share.go

Removed comments
2022-01-27 09:07:02 +11:00
c543ab19db fix (sso): sso cookie issues 2022-01-25 18:18:49 +11:00
0edfdfda86 fix (zip): store error in error.log when zipping content 2022-01-21 01:50:19 +11:00
03996a5239 fix (zip): fix a leak and improve config handling 2022-01-20 17:17:03 +11:00