Jo
4869306719
feat(search): implement render-hooks for search ( #2896 )
...
* add render hooks
* re-render hook per event
* add example with single_line and simplify built rendering
* update docs availability
* remove comments
2026-07-06 14:15:57 +02:00
Jo
d72402292e
feat(lua): allow configuring answer menus and minor fixes to examples ( #2880 )
...
allow configuring answer menus and minor fixes to examples
2026-06-19 14:31:43 +02:00
Jo
88c72b32b1
fix(lua): change search paths to resolve lua modules in config dir ( #2879 )
...
change search paths to not resolve lua modules in cwd but in the config dir
2026-06-19 12:04:12 +02:00
Jo
70d7a0f0a8
fix(lua): Reduce event size of PostInstall and SearchFilter hooks ( #2871 )
...
* remove fields from events that might not be needed yet
* reduce event size
2026-06-17 21:40:02 +02:00
Jo
15057c8dab
misc(ci): add modernize linter and update versioning ( #2870 )
...
* add modernize linter
* lint unused
* update imports
* ignore agent info
2026-06-17 21:09:53 +02:00
Jo
df4cbc4ce4
fix(log): fix debugln not spacing args correctly ( #2869 )
...
* fix debugln not spacing args correctly
* fix tests
2026-06-17 20:39:24 +02:00
Jo
3b3a2b1dcc
fix: search filter hooking and multierror cleanup ( #2868 )
...
* fix search filtering pass along
* prepare inclusion 'modernize' linter and use errors.join instead
2026-06-17 19:34:33 +02:00
Jo
4dbf124c51
feat(lua): add search filter and post install hooks ( #2867 )
...
* search filter and post install
add examples
* add tag
2026-06-16 23:35:18 +02:00
Jo
1ec6f3f793
feat: expose AUR package maintainer to upgrade hooks ( #2858 )
...
lint
2026-06-15 22:07:49 +02:00
Jo
16479dcaf3
feat: Add AURPostDownload hook ( #2856 )
...
* run hooks after source download
* lint
* nitpick: remove event table indirection
2026-06-15 18:10:41 +02:00
Jo
421b65bf43
feat: Add UpgradeSelect hook, logging and security example ( #2855 )
...
* add upgrade hook structure
* remove extra field
* feat: Add UpgradeSelect hook logging and security example
Add yay.log API to UpgradeSelect hooks for informational and warning messages.
- Add yay.log.info() and yay.log.warn() for hook logging
- Add doc/examples/recently_modified.lua: practical example to pre-exclude
recently-modified AUR packages (supply chain attack mitigation)
- Update doc/init.lua with improved UpgradeSelect example
- Update doc/lua.md with logging API documentation
- Refactor autocmd and load modules for cleaner log integration
- Add comprehensive unit tests for logging functionality
* lint
2026-06-15 15:25:40 +02:00
Jo
1501438fba
AUR: Add AURPreInstall hooks ( #2854 )
...
* add lua hooks on aur package installs
* add abort command to differentiate errors and aborts
* u
2026-06-15 13:31:13 +02:00
Jo
ecae3e601e
Add Lua configuration support ( #2845 )
...
* lua opt trial
* go mod tidy
2026-06-09 00:31:26 +02:00