24 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
stz184
26f2b753b7 Prefixed the env variables to avoid naming collisions 2021-01-16 23:27:23 +02: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
935dc5b55e Work on notifications + custom logger 2020-02-21 20:51:50 +01:00
viktorstrate
2d15e7c41f Add authentication for websockets 2020-02-21 17:53:04 +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
viktorstrate
8f0489c706 Enable api devMode to secure endpoint in prod 2020-02-19 22:28:21 +01:00
viktorstrate
b8f960f058 Add docker support for new api 2020-02-19 21:33:28 +01:00
viktorstrate
108de3d6b8 Add service-worker 2020-02-15 23:29:03 +01:00
viktorstrate
d50b8034d1 Work on photo serving and processing 2020-02-09 14:21:53 +01:00
viktorstrate
9a8701ecd0 Improve image processing 2020-02-09 12:53:21 +01:00
viktorstrate
43e214b5d0 Work on photo resolver 2020-02-05 14:51:46 +01:00
viktorstrate
e877242fef Setup CORS 2020-02-05 13:15:23 +01:00
viktorstrate
51fbe8a2d5 Implement authorization 2020-01-31 23:30:34 +01:00
viktorstrate
8a69b1a82c Setup database migration 2020-01-31 15:22:58 +01:00
viktorstrate
494d880771 Start on mysql 2020-01-30 14:49:39 +01:00
viktorstrate
9d95b7bead Start on graphql in go 2020-01-30 14:28:14 +01:00