19 Commits

Author SHA1 Message Date
Alessio
4e2dfef3cb Update go.mod go version to 1.18, to use slices package 2024-12-23 19:12:43 -08:00
Alessio
24129c4852 REFACTOR: reduce technical debt, particularly that caused by singleton pattern in pkg/scraper
- ensure all scraper functions have a `api.XYZ` version and a package-level convenience function
	- isolate `the_api` to top-level convenience functions, in preparation for removal
- move a bunch of scraper functions around to be nearby their related functions
- new ErrLoginRequired
- remove obsolete APIv1 stuff (Feed, TweetDetail)
- rename scraper function GetUserFeedGraphqlFor => GetUserFeed
- fix go.mod Go version incorrectly claiming it's compatible with Go 1.16 (should be Go 1.17)
2024-08-09 19:48:50 -07:00
42ab53fb73 Remove 'go-playground/form' dependency; just use JSON and 'hx-ext="json-enc"' in all forms 2024-03-08 14:07:25 -08:00
925f36c33a Remove settings.yaml; add default_profile.png to profile initialization 2024-02-26 17:37:34 -08:00
903483e305 Add function to send DMs 2023-11-26 21:25:04 -08:00
5c17546c7b Fix tweets being rendered without paragraph breaks 2023-08-12 11:14:06 -03:00
02bc365add Add session management routes and pages ("/login", "/change-session")
- Also enable tweet fetching in TweetDetail handler if tweet is missing or not scraped
- Improve some UI stuff w/ more styles
- Enable HTMX page swapping in some places instead of full page loads
2023-08-10 12:36:28 -03:00
8c09e2983b Update go.mod with new dependencies 2023-08-03 12:46:24 -03:00
a061decd0f REFACTOR: Rename go module to 'gitlab.com/offline-twitter/twitter_offline_engine' in accordance with 'go get' conventions
- also restructure project to use a 'pkg' directory for reusable packages
2023-07-30 14:20:07 -03:00
c09b77f497 Add ability to use saved sessions 2023-02-17 13:07:12 -05:00
Jaeger Aquila
6816dcbe2f generic http implem and fixing package errors 2022-12-09 23:03:22 -05:00
7bad18e9b1 Tidy up the formatting 2022-12-03 13:47:34 -05:00
James Raleigh
bacfd519cc fix for dmca video downloads 2022-11-27 18:10:25 -05:00
2f784c779c REFACTOR: Add sqlx dependency 2022-03-06 19:17:43 -08:00
9cd7f4171a Add proper logging module, set logging level to 'info' by default (hide very verbose debug results) 2022-02-14 14:31:26 -08:00
7532c3ba81 Add testify dependency 2022-01-30 14:48:16 -08:00
d9f9c9de83 Integrate url expander into Tweet URL parser 2022-01-08 18:36:23 -05:00
bac66d767c Add go dependencies (???) 2021-07-24 12:36:39 -07:00
88086c5b47 Add go.mod file 2021-05-17 14:45:48 -04:00