Repository navigation
Releases
Releases · repinger/ethold
v1.2.1
Changelog
- 032d404 academic: add exponential error backoff and night throttle
- d58ed7c academic: fallback presence notif to other handler
- 3eeb618 academic: support object room in exam decoding
- 91cb406 auth: clone UserInfo in User to prevent mutation
- 93237af build(deps): bump golang.org/x/net
- cc109bc client: allow expired cert bypass for PENS hosts
- 72d525e cmd/ethold: fix shadowed error in login retry
- 71ed8cc cmd/ethold: wire notif-poll-interval flag to poller
- b50d8fe cmd: add insecure-allow-expired-cert CLI flag
- 0389a1d config: add ETHOL_NOTIF_POLL_INTERVAL duration setting
- 98faff4 config: add expired cert bypass configuration
- 1192adf courses: cache empty list and check config error
- d26dfbd scanner: ignore ctx cancel and reload student id
- a20c348 schedule: normalize clock parser base time to WIB
- 38513d2 scheduler: add IsNightWIB helper for off-peak hours
- 1d36d00 skills: update skills-lock.json to version 2
- 44bb284 state: preserve date metadata for key-only records
- ad31ba0 state: use WIB for record dates and pruning
- 0812ff2 telegram: lowercase slash commands on parse
v1.2.0
Changelog
- 70cc7d4 academic: add /peserta course roster command
- 4fddc8a academic: add direct document links to /materi
- 9a64dff academic: add generic cacheEntry and sweep/count helpers
- d9ed8e2 academic: deduplicate assignment notifications
- 49be7d1 academic: return ctx error on cancelled fan-out
- 2fd8dbc academic: unify material/video fetch and fan-out
- dffc6cf agent: track skills-lock and ignore .agents
- b11f0ce attendance: parse float attendance rate and handle 5xx in roster
- 78065a6 auth: reset cookie jar before CAS re-login
- 0a93748 build(deps): bump golang.org/x/net
- 2bdee65 client: clone request before mutating headers
- 03956d4 commands, main: align academic-only commands and keyboard
- 8b56d26 config, state: reject extraneous variadic arguments
- 4906226 courses: clone course slices to prevent cache aliasing
- 635c532 courses: support nested matakuliah key in course name
- df0fd18 log: configure verbosity via LOG_LEVEL env var
- b422e1c main: retry initial CAS auth with backoff
- cbbd63b scanner: export ErrAutoPresenceDisabled sentinel error
- f6462cd scanner: non-blocking startup auth retry
- c51e24f schedule: support seconds and suffix in clock parsing
- d7efa29 skills: add debugging and troubleshooting skills
- 6c56fd6 state: defer retention pruning to calendar day change
- 3534895 telegram: add two-phase startup notification
- e7438ad telegram: avoid string fields allocation in parseCommand
- 9373a05 telegram: extract WIB timestamp format constant
- ab13624 telegram: extract shared API retry helper
- 32e2df7 telegram: preserve error unwrap chain in sanitizeError
- 1852333 telegram: send server outage alerts silently
- d241aa1 telegram: silence startup and rate limit alerts
- db7f3e8 telegram: wait for pending cleanup on poller shutdown
v1.1.0
Changelog
- b558d6d academic: add campus announcements retrieval and formatting
- 544747b academic: add exam timetable retrieval and formatting
- b918971 academic: check decode errors and preallocate result slices
- a1fa506 academic: evict expired cache entries and eliminate defensive copies
- 3846fd4 academic: fix missing date and content in campus announcements
- fb72e10 academic: forward unhandled ethol notification codes to telegram
- c40fc84 academic: list yet-to-present students in attendance roster
- 77593f4 academic: optimize attendance stats and sort pending task deadlines
- b641c4c academic: query lecturer attendance history using numeric lecturer ID
- af7ac57 academic: snapshot notification baseline on startup
- 734664d academic: support string notification IDs and filter unread status
- 431b868 academic: sweep expired caches periodically and trim cached payloads
- 9ab2268 academic: tidy campus announcements output format
- 6eecad9 academic: use expandable blockquotes for campus announcements
- 7bf927c auth, telegram: bound discarded response bodies with LimitReader
- cf1343e auth: relocate ErrUnauthorized sentinel from presence domain
- 6f85787 build: set trimpath and default GOMEMLIMIT in container image
- a29dff1 ci: add whole-program dead code analysis steps
- 75b949e ci: auto-merge dependabot pull requests for non-major updates
- 49f619c ci: use latest golangci-lint action version
- 697d5f5 client: add origin/referer headers and periodic profile rotation
- b3c0449 client: tune http transport idle connection limits
- 58f53de cmd/ethold: silence telegram alert and scan trigger on presence notif
- a98ea11 cmd/ethold: wire telegram topic thread flags and notifier
- 02d3143 commands: add /ujian and /pengumuman Telegram commands
- b52a405 commands: consolidate status and debug formatting helpers
- 258c510 config: support telegram forum topic thread IDs
- fbf67c2 courses: bound response readers and return cached slice directly
- 5f99a4f courses: replace toInt with parseCount helper
- ceaa456 editorconfig: remove unnecessary indentation settings for markdown and Makefile
- a4ee1bd log: add pretty cli log handler with color support
- a8d5664 log: pre-format group prefix and format timestamp into stack buffer
- aabcd20 presence: enforce response limits and optimize key extraction
- b661424 presence: pool check response buffers and reuse scanner queue slice
- f4f2089 profiling: add dev pprof instrumentation and memory profiling tests
- bbf93e4 release: add trimpath flag and sync release workflow verification
- f28e76e scanner: extract telegram command handling to commands.go
- af47431 scanner: group Telegram command rate-limiting state
- 103865b scanner: trigger academic cache eviction and release roster cache
- 692bb43 state: add record retention pruning and buffer reuse
- 0b42424 state: pre-size records map on load to prevent map rehashing
- 9b0254c state: stream state file encoding and reuse memory buffers
- a446cbc state: write compact JSON to eliminate indentation buffer allocations
- 28d0552 telegram: add inline keyboard markup with callback query execution
- a19bcd4 telegram: add interactive keyboard labels and command text aliases
- 979aaf4 telegram: add jitter to command poller error backoff
- 3365cfa telegram: add persistent reply keyboard for command interaction
- e2a6a24 telegram: add single-message command replacement with in-place edits
- 527b75a telegram: edit text command replies in place with instant prompt cleanup
- 2bf0a54 telegram: include setup type tags in startup notification mode
- 6365c4c telegram: increase response read limit for long message IDs
- 778c897 telegram: make command rate limiter idle-aware to prevent burst leaks
- a39faa9 telegram: notify daemon startup with runtime parameters
- fb02ca0 telegram: pin active command message in direct chat mode
- 475ef5e telegram: pre-allocate message chunk buffers in splitMessage
- 7be6f3b telegram: purge previous messages every three commands
- 22307f6 telegram: reject commands executed in notification topics
- d16f056 telegram: remove typing indicator and sendChatAction
- 3975d2f telegram: remove unused reply keyboard support
- 20ee5a5 telegram: revert idle-aware command rate limiter
- cc67ab1 telegram: stream splitMessage lines and remove unused test helper
- 7c77a68 telegram: support topic thread routing and filtering
- c124742 test,docs: enforce soak test memory and goroutine leak assertions
v1.0.0
Changelog
- 9d5cf2b Add MIT license
- 266b6d4 academic: add academic manager with schedule, tasks, and attendance
- 7f75c7b academic: alias VideoItem to MaterialItem to eliminate duplicate struct
- a0a5300 academic: bound concurrent course api fetches and clear caches
- 34148d9 academic: break out of course loops on context cancellation
- 2e6c67f academic: optimize clock string parsing without allocations
- 6138637 academic: remove redundant GetAttendanceStats wrapper
- fade1a2 academic: remove redundant task field checks in FormatTasksText
- 51c2f24 academic: remove unreachable dayNameFromValue in schedule formatting
- 33fbdaf academic: remove unused KuliahID from CourseAttendance
- 99816e9 academic: remove unused cache invalidation methods
- 23a49c7 auth: guard session refresh with singleflight mutex
- e8d0101 auth: implement CAS SSO login and session management
- 8e113cf auth: stream html tokens in cas form parser
- 613910c build: add project scaffolding and module definition
- aa1295b build: support multi-arch cross-compilation in Dockerfile
- 961af91 ci: add continuous integration and dev container workflow
- fadca2c ci: add goreleaser v2 configuration for multi-arch binary releases
- b5778cf ci: add multi-arch binary and container release workflow
- 9bdef2b ci: configure concurrency group to cancel stale pr runs
- 17b8ee4 ci: configure dependabot for gomod, actions, and docker
- 5c03b40 ci: ignore markdown and docs paths in workflow triggers
- 1d86dfe ci: inject git-driven version into container and release builds
- 9d4f02c ci: integrate golangci-lint into test and release workflows
- 0dc9af3 ci: refine workflows, dockerfile defaults, and release gating
- 6040026 ci: remove redundant go vet step in test and release workflows
- 3262ef1 ci: validate dev build tags across test, lint, and build stages
- 30f0b2b client: add HTTP client with randomized browser profiles
- b43cbd9 client: increase http idle connection pool limits
- 196a682 client: scope legitUserAgents package variable to test
- ee2788e cmd/ethold: add git-driven version detection and -version flag
- 143663d cmd: run deferred cleanup prior to process exit
- afda65c config: add benchmark for .env parsing
- 2e4cc89 config: implement .env file parser and configuration loading
- 0eaebf1 config: make auto-presence optional via ETHOL_AUTO_PRESENCE
- 3e5529d config: rename ETHOL_USERNAME to ETHOL_EMAIL
- 0b682ef courses: add course list fetching with TTL cache
- 541f665 docker: support conditional dev build tags in container image
- 3890269 docker: support version injection via build argument
- 640fa18 ethol: add telegram command rate limiting and retry handling
- 73bd37d ethol: align telegram command wording and help messages
- 0132534 ethol: close test response bodies and compare errors with errors.Is
- 197cb37 ethol: fast-fail login and avoid full reauth when server is down
- fe51ee4 ethol: fix http client timeouts and notification deadlock
- 1b3f740 ethol: fix http.Client.Jar data race during relogin
- 1948635 ethol: instrument core subsystems with dev-mode debug logging
- 337349f ethol: introduce dev build tag and logging infrastructure
- aef63f1 ethol: migrate sort calls to stdlib slices package
- 5441c57 ethol: prevent duplicate scans and add command cooldowns
- 7af030b ethol: remove io.Copy exclusion and explicitly ignore discard errors
- 1d9c651 ethol: rename local clock minute variable to avoid shadowing builtin
- 581af5e ethol: replace string concatenation with Fprintf and use switch in tests
- cc68741 gitignore: anchor binary path to avoid ignoring cmd/ethold
- 4147a24 lint: add configuration for golangci-lint v2
- 31c0f45 lint: expand golangci-lint configuration with high-signal rules
- 576f8e4 presence: add benchmark for empty payload presence extraction
- 7e86850 presence: implement attendance check and submission engine
- 6649cc7 project: rename package and module to ethold
- 0902185 scanner: add /debug command and extract diagnostics from /status
- 6d3d314 scanner: eliminate readmemstats stw pause and string allocations
- 432752a scanner: implement main daemon loop and Telegram command dispatch
- e194d5a scanner: notify telegram on server outages and auth failures
- f0bceee scanner: re-authenticate on expired session in computeScanPlan
- 03be136 scanner: remove unreferenced delay and stagger mutators
- aaaa85c scanner: remove unused AllocMemMB field from ScannerStatus
- fbe9a6a scanner: shorten default presence submission delay to 2s-10s
- cc79f3f scheduler: add WIB timezone handling and 3-mode scan intervals
- 6bc599a scheduler: add benchmarks for scan window and plan computation
- 44f9937 scheduler: replace fixed mode intervals with schedule-driven scanning
- ad007ec state: add atomic JSON persistence for attendance records
- 319f13e state: add count with prefix to avoid key slice allocations
- 46589de state: remove unused KeysWithPrefix and Add methods
- 89fd13e style: define editorconfig for consistent code formatting
- d523512 telegram: implement Telegram Bot API client and command poller
- 650ea1e telegram: pre-parse chat id to avoid formatting allocations