Commit Graph

10 Commits

Author SHA1 Message Date
Kostiantyn
69e595000d Refactoring part 2.11: Long func refactoring in server and utils (#1083)
* Split long functions and optimize code

* Addressing comments

---------

Co-authored-by: Konstantin Koval
2024-10-09 18:20:03 +03:00
viktorstrate
2c98827db5 Make photoview work without providing the PHOTOVIEW_PUBLIC_ENDPOINT environment variable 2021-03-01 22:03:57 +01:00
viktorstrate
4cd822f068 Update gomod to reflect repo transfer 2020-12-17 22:51:43 +01:00
viktorstrate
4fe0608194 Setup cache headers for photo routes 2020-09-30 14:08:30 +02:00
viktorstrate
f669812efb Use cookies for authentication instead of header
This replaces the current implementation
where a bearer header holds the auth-token.
Now the same token is being sent using a cookie instead.
This greatly simplifies fetching resources (images and video),
since the header is sent along implicitly with each request.
2020-07-12 18:52:48 +02:00
viktorstrate
fef27c5640 Add login page for protected shares 2020-06-14 20:56:48 +02:00
viktorstrate
b4676af3c1 Rewrite environment variable configurations 2020-04-06 22:16:25 +02:00
viktorstrate
e00a5553f7 Add download support 2020-02-21 22:42:39 +01:00
viktorstrate
37aea1fb3a Improve logging 2020-02-21 21:00:40 +01:00
viktorstrate
b2a8fd09f9 Work towards subscriptions
- Replace chi with gorilla/mux
- Write custom CORS rules
- Start on notification subscriptions
2020-02-21 16:50:50 +01:00