summaryrefslogtreecommitdiff
path: root/util
AgeCommit message (Collapse)AuthorFilesLines
2024-10-05Refactor handling of valid account namesA. Wilcox1-0/+36
* Move our system_names and system_groups out to a util header. * Qt UI: Validate that the user's chosen account name is not contained in either system_names nor system_groups. Closes: #388 Acked-by: Síle Ekaterin Liszka <sheila@vulpine.house>
2024-10-05Add friendly names for keymapsA. Wilcox1-10/+32
This allows users to choose the "friendly name" for their keyboard layout instead of the internal XKB name. Closes: #386 Suggested-by: Jesse Smith <distro@distrowatch.com> Reviewed-by: Zach van Rijn <me@zv.io> In-memory-of: Sammie the Cat
2020-05-26hscript: Convert 'int line' to a ScriptLocation objectA. Wilcox1-12/+50
2020-02-09hscript: Factor subnet -> CIDR conversion to util functionA. Wilcox1-0/+19
* Also ensures that the unused function in util/net (is_url_valid) doesn't break the build of network.cc (and vis versa for user.cc).
2019-12-05Actually refactor valid_keymaps into a reusable componentA. Wilcox1-0/+30
2019-10-27hscript: Make portable to std::filesystem OR boost::filesystemA. Wilcox1-0/+15
2019-10-19hscript: Implement UserIcon parsingA. Wilcox1-0/+36
2019-10-12util: Add helpers for logging step start/endA. Wilcox1-0/+14
2019-10-12hscript: Use Agent.MessageFormat for loggingA. Wilcox1-6/+22
2019-10-08Make +pretty+ a global var instead of passed everywhereA. Wilcox1-24/+18
2019-10-06util: Document reset_if_prettyA. Wilcox1-0/+4
2019-10-06Add some pretty handlers and use themA. Wilcox1-3/+25
2019-10-06util: Add more output typesA. Wilcox1-8/+44
2019-10-06Beginnings of some extremely basic parsing and a utilityA. Wilcox1-0/+39