32 Commits

Author SHA1 Message Date
84c87dd15f fix (#878): enforce path in share links - #889 2025-10-09 12:32:01 +11:00
dabdc03a73 chore (GenerateID): change signature for GenerateID 2024-04-15 22:18:16 +10:00
a82177e719 maintain (ctx): pass app context as pointer 2022-08-30 17:27:23 +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
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
b8bc56aea2 fix (share): access when redirection is enabled 2021-11-05 18:23:03 +11:00
f7a4e52703 maintain (go): go format 2021-08-22 16:47:09 +10:00
f3e6c8c030 feature (documents): handle office documents using onlyoffice 2019-12-21 15:17:09 +11:00
b54663016c improve (webdav): handle user restriction and password on the webdav server 2019-05-08 11:30:23 +10:00
ec6eb0e8fa improve (crypto): derivate secret_key for each usage to reduce attack surface in the worst case scenario 2019-01-28 01:09:45 +11:00
c61f528e24 fix (share): fix edge cases around the path and start migrate tests 2019-01-28 01:09:45 +11:00
50506dcff9 improvement (share): move out the authorization logic in a middleware 2019-01-28 01:09:45 +11:00
43f00e12d6 feature (orgmode): use emacs to export org documents 2019-01-28 01:09:45 +11:00
a34b8b48e7 migrate (name): change project name 2019-01-28 01:09:45 +11:00
ab93520773 optimise (middleware): refactore middleware to focus on better performance and security 2019-01-28 01:09:45 +11:00
e1b0eab5e1 improvement (cookie): leverage the 'SameSite' attribute 2019-01-28 01:09:45 +11:00
ce6a228968 feature (admin): admin console 2018-12-19 18:35:09 +11:00
377048fd35 fix (share): broken share feature 2018-11-26 23:00:22 +11:00
f87fddbb32 feature (share): reflect different share params on UI and fix share viewpage 2018-11-02 04:42:01 +11:00
6c195b7297 feature (share): POC Share 2018-11-02 02:44:08 +11:00
b745b03d3f feature (log): create a proper API for logging 2018-10-25 22:45:28 +11:00
ddd1b83b27 feature (plugin): API to develop plugin 2018-10-25 20:25:59 +11:00
ff319c2fd7 feature (webdav): WIP 2018-10-22 14:20:28 +11:00
8f62551787 feature (Share): workable version for sharing 2018-10-15 22:48:27 +11:00
bde4079fb9 maintenance (code): incremental improvement 2018-09-26 02:36:21 +10:00
1157015650 feature (share): WIP 2018-09-24 14:49:44 +10:00
61f28962f3 feature (share): share feature - WIP 2018-09-14 17:32:16 +10:00
d1686c3aa2 feature (share): backend of the sharing feature 2018-09-14 17:32:16 +10:00