summaryrefslogtreecommitdiffstats
path: root/src (follow)
AgeCommit message (Collapse)Author
2022-01-27Cleanup channel helpers codematthewmcgarvey
2022-01-28videos.cr: use '.dig?()' where possibleSamantaz Fox
2022-01-28search functions: Don't return result countSamantaz Fox
This is useless, as the items count can be directly acessed using the '.size' method, so use that instead when needed.
2022-01-28Fix 'Lint/UselessAssign' warnings reported by amebaSamantaz Fox
2022-01-28Remove useless intermediary variable in youtube_api.crSamantaz Fox
This fixes an ameba warning
2022-01-28Avoid infinite loop in ChannelVideo's to_xml/to_json methodsSamantaz Fox
2022-01-28Fix more 'Lint/ShadowingOuterLocalVar' warnings reported by amebaSamantaz Fox
2022-01-28Fix some 'Lint/ShadowingOuterLocalVar' warnings reported by amebaSamantaz Fox
2022-01-28Remove useless 'locale = env.get...' from many routesSamantaz Fox
2022-01-28Use '.dig?()' in playlist parsingSamantaz Fox
2022-01-28Make 'additional_fields' optional in JSON error template functionsSamantaz Fox
This allows us to de-duplicate functions
2022-01-28Remove useless 'locale' argument from error template functionsSamantaz Fox
2022-01-28Remove useless arguments from playlist-related functionsSamantaz Fox
2022-01-26db: use prepared statements rather than crafted argument listSamantaz Fox
2022-01-25Fix code broken when extracting data control routematthewmcgarvey
2022-01-25Make certain routes ignored if api onlymatthewmcgarvey
2022-01-25Move more routes to new patternmatthewmcgarvey
2022-01-26db: use now() function instead of passing Time.utcSamantaz Fox
2022-01-25DB: playlists: make that 'insert' never raisesSamantaz Fox
2022-01-25DB: Move integrity check to the base.cr fileSamantaz Fox
2022-01-25DB: don't pass PG_DB to check_table/check_enumSamantaz Fox
2022-01-25DB: Move a forgotten 'UPDATE channels' statementSamantaz Fox
2022-01-25Merge pull request #2821 from matthewmcgarvey/channel-searchSamantaz Fox
Handle invalid channel id in channel: search
2022-01-25will -> shouldMatthew McGarvey
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2022-01-19HTML escape user inputmatthewmcgarvey
2022-01-19Merge pull request #2822 from matthewmcgarvey/reddit-commentsSamantaz Fox
Fix loading reddit comments when there are no threads found
2022-01-18404 error with message and provide examplematthewmcgarvey
2022-01-18Don't catch and provide better error message insteadmatthewmcgarvey
2022-01-18Custom error on channel search, handle in searchmatthewmcgarvey
2022-01-18Fix channel search json parse to not raisematthewmcgarvey
2022-01-17Apply suggestions from reviewSamantaz Fox
2022-01-17Use &.methods where possible instead of curly bracesmatthewmcgarvey
2022-01-17Fix loading reddit comments when there are no threads foundmatthewmcgarvey
2022-01-16Don't show "next steps" message with a stack traceSamantaz Fox
Usually, next steps are after the error message. Here, we want the same options to be right above the stack trace, so users are less likely to report duplicates.
2022-01-16Improve crash page messagesSamantaz Fox
* Ask to read the FAQ and search for existing issues on Github * Include links to FAQ and directly to a new github issue * Github issue title is automatically based on exception name * Improved HTML * Minor languages changes
2022-01-16Merge pull request #2814 from SamantazFox/fix-search-autofocusSamantaz Fox
Fix search autofocus
2022-01-16Merge pull request #2545 from bbielsa/csv-subscriptions-importSamantaz Fox
Add CSV Subscriptions Import
2022-01-13Autofocus search bar only on search homepageSamantaz Fox
2022-01-13Fix commentsSamantaz Fox
"ReplyCount" is actually an Int, not a String.
2022-01-13Merge pull request #2646 from SamantazFox/support-plurals-in-localesSamantaz Fox
Better support of plurals in locales
2022-01-12Improve youtube import type detectionSamantaz Fox
Code courtesy of bbielsa: https://gist.github.com/bbielsa/7d131aa2188945f591a8379ec0defc9b
2022-01-12Prevent import of insanely large filesSamantaz Fox
2022-01-11Merge pull request #2787 from matthewmcgarvey/related-channelsSamantaz Fox
Update to fetch related channels again
2022-01-10Can fetch related channels using just the channel ucid]matthewmcgarvey
2022-01-10i18n: Apply code review suggestions + code cleaningSamantaz Fox
2022-01-10i18n: Use plurals for tokens/replies/unseen notificationsSamantaz Fox
2022-01-10i18n: Use plurals for video/view/subscriber/subscription countsSamantaz Fox
2022-01-10i18n: Use plurals for year/month/day/etc...Samantaz Fox
2022-01-10i18n: Add dedicated function for counts translationSamantaz Fox
2022-01-10i18n: make multiple fixes to i18next pluralsSamantaz Fox