* fix(indexers): TS regex
TS got rid of the "id=" part in their announces, resulting in our pattern not matching anymore.
Adjusted our regex with capturing the ID after `/` instead of `id=`.
Tested this the new expression with 1180 announces of which all resulted in a match.
* fixed test
fixed test to match new regex
* fix(releases): improve load time by 47x
* fix(releases): optimize stats query
* remove the *
* change nil to actual 0
* feat(releases): flip recent to orderby id
* fix(stats): make postgres compatible
* return the * to COUNT for pgsql
Co-authored-by: ze0s <43699394+zze0s@users.noreply.github.com>
Co-authored-by: ze0s <ze0s@riseup.net>
* added red background to "Enabled" switch button when disabled for IRC update form
created const SwitchGroupWideRed in web/src/components/inputs/input_wide.tsx
added const SwitchGroupWideRed in web/src/components/inputs/index.ts
changed SwitchGroupWide to SwitchGroupWideRed in IrcNetworkUpdateForm in web/src/forms/settings/IrcForms.tsx
* added red background to SwitchGroupWideRed for default/white mode too
* made white and dark mode red one shade lighter (red-600 -> red-500)
* convert client table to grid
* too much data
* fix(web): download client table overflow
• Converted DownloadClient table into a responsive grid.
• Overflowing content will now truncate and hovering over it will show you the full value.
* Fixed an issue where the div containing the filter name in the delete modal would overflow if the filter name is too long. Text inside the div is now contained and will word-break when too long.
* Fixed an issue where the filter name headline would break into a second line if the filter name is too long. In case the filter name is too long the filter name headline will now truncate and show it's full value at mouseover.
- infinitely retry web queries so we avoid the "failed to fetch" error when the web server is unavailable
- remove the "ago" suffix from age cells (closes#497)
* Fixed regex to still match the announce if there are no flags in it.
* customize freeleech parsing from regex
* Fix match when there is no year given (instead of 0) for a release.
Made capture group 4 lazy/optional/ungreedy.
Created a non-capturing group for the `:: NSFW! ::` section to exclude the seperators and the tag itself from the tags var.
I think we should exclude a possible `:: NSFW! ::` section after the tags section from matching for 2 reasons:
1. There is already an "adult" tag. Use it.
2. The `:: NSFW! ::` may get truncated if the announce line is too long. Matching the tag against `adult` is more consistent.
Fix match when `:: NSFW! ::` section gets truncated because the announce line is too long.
Tested with a sample size of 554 announces of which 554 resulted in a match.
* fix(indexers): ggn change flags to releaseTags and freeleech
* fix(indexers): immortalseed regex
* change IRC port to 7000
set TLS to true
replace "IRCKEY" in placeholder and help test with "PASSKEY" for invite_command field.
* simplified regex
Feed dates are not always initialized, which defaults (if present) to epoch on some feed items. When this happens the results can be unpredictable, and not expected for what users are intending for. As such to have sane defaults, we ignore the date if it's before April 1st 1970, because nothing really happened before this date.
fix: fixed broken wrapping in tooltip child elements (missed last letter)
enhancement: increased line height for tooltip child cells in case of wrapping for clearer text
enhancement: renamed filter rejections from `Filter` to `Rejected` in tooltips
chore: changed remaining purple highlights to blue.
Co-authored-by: anonymous <anonymous>
* feat(irc): support SASL and NickServ auth
* feat(irc): add missing fields
* feat(irc): support SASL and NickServ auth
* feat(irc): add missing fields
* feat(irc): add validation
* feat(indexers): unify and set required values
* feat(irc): add postgres migrations
* feat(irc): use nick as handlerkey
* feat(irc): use account for nickserv
* fix(irc): pg db migration
Update animebytes.yaml
Place the year inside square brackets before the release tags. This makes sure that the arrs don't think the release year is part of the title.
* - fix: changed all {text,bg}-{teal,indigo}-* color properties to {text,bg}-{blue}-* so there is only one dominant primary color in the UI -- blue
- enhancement: added `cursor: pointer` to the PageButton component (used in pagination)
- enhancement: modified TitleCell to use the new Tooltip component and modified the width selectors to a more sane default value, now instead of scrolling one just has to tap the cell to see it's untruncated value
- enhancement: modified the Tooltip component to use react-popper-tooltip (which in turn uses popper.js) which is a much better alternative, since it uses auto-positioning in case there's not enough space and some things aren't as broken as in the previous version (e.g. there was a problem with forcing the previous tooltip to use a specific width)
- enhancement: added a useMedia hook selector from the react-use repository, which might come in handy in the future for better/easier decoupling of Desktop and Mobile UI/UX patterns via JS (versus CSS-only)
- enhancement: made the mobile navbar more visible and clear. also fixed previous path === "/" bug which was fixed on desktop.
- fix: fixed table headers/footers so they're rounded
- enhancement: made pagination components more compact (buttons and show N result selector)
* changed {ring, border}-indigo-* to ring-blue-*
* build: add yarn.lock
* fix: formatting warnings
* fix: formatting warnings
* fix: more formatting warnings
* fix: more formatting