Thomas Lynch
53f09afd6d
update log models for postLinks board
1 year ago
Thomas Lynch
40b5af5689
Bugfix type for return of managereports, create struct with options for post actions
1 year ago
Thomas Lynch
1c5e06d8fe
Move & rename manage boards list to manage.go instead of boardlist.go
1 year ago
Thomas Lynch
bef26fa57d
Improve some models types (using scuffedtime more often just to be safe), extra fields, set them as omitempty when optional
1 year ago
Thomas Lynch
bffc697b97
Add managereports endpoints for global and board specific reports fetching
1 year ago
Thomas Lynch
0d1d3a54dc
Allow fetching global by not passing or passing empty board options to getmanagerecent, improve the returned post struct and nested reports, etc
1 year ago
Thomas Lynch
71f2ff6f87
Add mod flag for /modpost, improve error return and handling slightly, add manage/recent.json and example
1 year ago
Thomas Lynch
8fb5f2e3a9
Add csrf token method, sets c.CsrfToken
...
Make posting handle multipart bodies, (set content type in api method)
Implement posting, multipart form with files, etc
1 year ago
Thomas Lynch
fe38d8cf7a
Add most stuff under the "public endpoints" api section
1 year ago
Thomas Lynch
4b5a75477a
add GetIndex, GetLogsList, GetLogs and associated models
...
ensure LogDate has String() method for converting to string with zero padded y, m, d
add/update README
1 year ago
Thomas Lynch
5418bc6479
Catalogs, threads, parse json array response of threads (For catalog), ahndle scuffed time format for bumped/date/edited
1 year ago
Thomas Lynch
c86ef11ff4
Loop through set-cookie header and set in client only if its actually connect.sid
1 year ago
Thomas Lynch
3fac0d046f
Allow passing embedded "ReturnHeaders" object to get response headers in handlers if necessary e.g. captcha cookie?
...
Parse set-cookie header and store session cookie in client if set-cookie contains connect.sid cookie
Remove some json definitions for option arguments to client methods
1 year ago
Thomas Lynch
0bd911d6bf
move post and board models to separate folder
1 year ago
Thomas Lynch
515d671827
gofmt
1 year ago
Thomas Lynch
97b3a747af
Add overboard catalog and index fetching
1 year ago
Thomas Lynch
d5749b982c
Change url query string building to more proper method with url.Values{} and will also handle multipel values properly e.g. sites
...
Globalmanage board list (no auth yet)
1 year ago
Thomas Lynch
d9450400d3
Initial commit
1 year ago