zyachel
9fdd731136
feat(api): add a catch-all route
2023-10-30 01:25:32 +05:30
zyachel
4dffbbc0ec
fix(api): refactor all endpoints a bit
...
disallow methods other that GET
properly type return types
add type guards where needed
make all endpoints
return same response format for consistency
2023-10-30 01:24:32 +05:30
Niklas Poslovski
264442448f
Add API endpoints for all routes that contain IMDB data
2023-10-29 19:00:44 +01:00
zyachel
97f1432ac5
feat(list): add list route
...
adds ability to see titles, names, and images lists
closes https://github.com/zyachel/libremdb/issues/6
2023-10-29 00:49:55 +05:30
zyachel
60fb23fc5b
refactor(name): remove console statement
2023-10-29 00:49:55 +05:30
zyachel
12eaa741ab
refactor: general refactor
...
make barrel files .ts instead of .tsx
move layouts to components directory
2023-10-29 00:49:51 +05:30
zyachel
e91c313f12
fix(name): fix route crash for some ids
...
sometimes we don't get genres, causing the crash.
fix https://codeberg.org/zyachel/libremdb/issues/20
2023-10-14 15:22:59 +05:30
zyachel
21a1c83d95
fix(title): fix a crash in title route
2023-07-09 19:14:59 +05:30
zyachel
38ed0c6217
fix(name): fix name route crash
...
this commit fixes a crash in name route caused by upstream
closes https://github.com/zyachel/libremdb/issues/51
2023-06-18 14:31:40 +05:30
zyachel
c610ef4d1b
fix(media proxy): fix 304 response code with body error
...
was accidently sending a 304 with body. introduced in c53c88d
2023-06-03 22:20:56 +05:30
zyachel
736d680243
fix(card): fix long attributes in cards under 'Known For' section
...
makes the attributes scrollable instead
2023-06-03 22:18:36 +05:30
zyachel
0aea2f47da
fix(error): fix incorrect 'view on IMDb' link on error page
...
the error was due to a faulty logic. 'useRouter' was being used to detect pathname, which doesn't
keep original url on 404 page.
this commit fixes that.
this commit also makes it easy to go to
IMDb by adding a clear link on error page.
closes https://github.com/zyachel/libremdb/issues/50
2023-06-03 22:12:54 +05:30
zyachel
c53c88db9b
feat(cache): implement caching of routes
2023-05-21 18:15:03 +05:30
zyachel
8599ae2c5a
fix(form): fix hydration error
...
was due to nested anchor tags
2023-05-21 18:13:44 +05:30
zyachel
8d9b6630a5
fix(name): fix a couple of crashes in name and title route
2023-05-21 18:12:23 +05:30
zyachel
75732e0086
feat(route): add name route
...
adds much needed route
fix https://github.com/zyachel/libremdb/issues/39 , https://github.com/zyachel/libremdb/issues/36 ,
https://codeberg.org/zyachel/libremdb/issues/11
2023-04-15 21:45:30 +05:30
zyachel
18ca98fd4a
refactor: make components more modular
...
would help in implementing name route
also did some stylistic changes
2023-04-15 20:58:09 +05:30
zyachel
8ce02d0236
fix(title): fix title page crash
...
due to upstream change in data, title page was broken. this commit fixes thate
BREAKING CHANGE: older versions won't work, at least for title route
2023-04-15 20:49:28 +05:30
zyachel
505ff4d839
refactor: replace relative paths with absolute ones in import statements
2023-01-28 22:09:27 +05:30
zyachel
2c5d2f86e4
feat: add info related to the current instance
...
this commit adds additional info about instance like release tag and instance maintainer contact.
fix: https://codeberg.org/zyachel/libremdb/issues/8
2023-01-28 19:06:21 +05:30
zyachel
5cc2ef02ce
feat: add error boundary
...
makes crashes graceful
2023-01-22 21:14:46 +05:30
zyachel
71d1d5b34e
fix: fix app crash
...
this commit fixes a crash due to unavailability of localStorage
https://github.com/zyachel/libremdb/issues/31
2023-01-22 21:13:09 +05:30
zyachel
a32785ce00
fix: fix unseekable videos on webkit-based browsers
...
this commit fixes videos not being able to fast-forward/rewind for lack of http headers and 206
status code
fix https://github.com/zyachel/libremdb/issues/26
2023-01-14 16:36:20 +05:30
zyachel
0cff34a766
feat(search): add basic search functionality
...
this commit adds basic search feature.
fix: https://codeberg.org/zyachel/libremdb/issues/9 , https://github.com/zyachel/libremdb/issues/10
2022-12-31 22:21:36 +05:30
zyachel
81eaf2fd5e
fix: couple css improvements for webkit-based browsers
...
introduces a new mixin to handle webkit-based shenanigans.
also adds a mixin to make keyboard navigation easier.
and other small tweaks to css(like accent color and color scheme).
2022-12-31 22:10:31 +05:30
zyachel
57b050f196
refactor: refactor code a bit
...
make a hook to abstarct logic from page
changes to .prettierrc
changes to a couple of imports/exports
bunch of screen reader tweaks
2022-12-31 22:02:48 +05:30
zyachel
78b14ec079
fix: app crash on qutebrowser
...
add a prop in numberformat options that was resulting in out of range error.
also swapped
'replaceAll' with 'replace'
https://github.com/zyachel/libremdb/issues/24
2022-12-10 20:15:28 +05:30
zyachel
dd75df01eb
fix(title): fix site crash
...
production status of titles is sometimes null. this commit accounts for that and prevents site from crashing.
https://github.com/zyachel/libremdb/issues/22
2022-12-01 22:30:07 +05:30
zyachel
1658769a30
feat: force a certain language when getting data
...
when fetching data, sometimes it's returned in a language depending on server IP address.
this
commit fixes that behaviour
https://github.com/zyachel/libremdb/issues/20
2022-11-13 17:39:29 +05:30
zyachel
5fd0d92187
fix(redis): fix logs being polluted when redis is disabled
...
also used streaming when redis is disabled for faster response.
2022-11-13 17:29:47 +05:30
httpjamesm
7a717aa212
feat: make redis cache optional
2022-11-12 10:57:56 -05:00
httpjamesm
a410bc4264
refactor: use zyachel's code
2022-11-12 10:56:51 -05:00
httpjamesm
6ae71d7907
fix: remove "information collected by other services" in privacy
2022-10-31 18:23:05 -04:00
httpjamesm
44d3a33fb3
feat: update information in FAQ
2022-10-31 18:10:34 -04:00
httpjamesm
720f2b6acb
feat: IP ratelimit for media proxy
2022-10-31 18:05:19 -04:00
httpjamesm
9bce8a2dd5
fix: bypass response limit for media proxy endpoint
2022-10-31 17:46:17 -04:00
httpjamesm
1983f6b1fb
feat: proxy videos and add more descriptive error messages
2022-10-31 17:45:14 -04:00
httpjamesm
dba2ba5aa4
feat: fetch images from media proxy on frontend
2022-10-31 17:37:36 -04:00
httpjamesm
2c8d138cbd
feat: cache media proxy data in redis for 30 mins
2022-10-31 17:28:18 -04:00
httpjamesm
59a314b2bd
feat: media proxy for anonymous loads
2022-10-31 17:04:26 -04:00
httpjamesm
261a37576b
fix: change to poster for og:image
2022-10-30 19:21:19 -04:00
httpjamesm
a2fc2322a3
feat: add "og:image" property for social media embeds
2022-10-30 19:18:12 -04:00
httpjamesm
478b45977d
fix: remove double space in inspiration credit
2022-10-30 19:14:17 -04:00
zyachel
256ce38d35
docs: update readme
...
make readme more readable
2022-09-24 20:36:24 +05:30
zyachel
9891204f5a
feat: major rewrite
...
the application is now rewritten in next.js. this commit also adds the ability to see trailers, did you know, more like this, etc. on title page.
BREAKING CHANGE: the whole application is rewritten from scratch.
2022-09-24 09:31:09 -04:00