20 Commits (f7e8488edf1c0f685e710bf4b75fd78899f2ca16)

Author SHA1 Message Date
Adriaan de Groot f7e8488edf [users] Correct DBus return from hostnamed calls 7 years ago
Adriaan de Groot 094c213baa [users] Also test hostname-setting via hostnamed
SEE #1140
7 years ago
Adriaan de Groot c5b45c37fc [users] Add tests of the file-writing components 7 years ago
Adriaan de Groot 49eb8212e3 [users] Imporove enum-naming 7 years ago
Adriaan de Groot ef4bb5e13b [users] Make SetHostName job actions configurable 7 years ago
Adriaan de Groot 44bf0a5d6d [users] Add method for using hostnamed
SEE #1140
7 years ago
Adriaan de Groot 9a7465bfd5 [users] Refactor writing-hostname and writing-hosts
- Move to separate functions, as prep-work for making the actions
   configurable (and optional).
7 years ago
Adriaan de Groot 90f79b0692 [users] Restore error-checking to set-hostname code
- Use the new CreationResult code for compact results
7 years ago
Adriaan de Groot 695b88b8a7 [users] Tidy up hostname creation
- Use the createTargetFile() convenience functions to do the
   actual work.
 - This probably involves more copying around of buffers, since it's
   creating one big QString and sending that off, rather than writing
   little chunks to a file, but I feel this is worth the code simplification.
 - Drops all the error checking for creation, though, because the API for
   createTargetFile() lousy.
7 years ago
Adriaan de Groot eb90757063 [users] Apply coding style (lots of churn) 7 years ago
Adriaan de Groot dd8e53dc22 Copyright: update copyright lines on files touched in 2018
Contributions from:
  Adriaan de Groot <groot@kde.org>
  Gabriel Craciunescu <crazy@frugalware.org>
  AlmAck <gluca86@gmail.com>
  Andrius Štikonas <andrius@stikonas.eu>
  Caio Carvalho <caiojcarvalho@gmail.com>
  Raul Rodrigo Segura <raurodse@gmail.com>
8 years ago
Adriaan de Groot 6bb72d173d [libcalamares] Drop generic cLog()
- Use cWarning or cError() for errors
 - Use cDebug(level) for other uses (but there aren't any)
8 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 9 years ago
Teo Mrnjavac 079fa3624b Update pretty{Description,StatusMessage} for users module jobs. 11 years ago
Rohan Garg 60eb9cfae6 Use the correct file to write things into 12 years ago
Rohan Garg d3d9ea130c Fix build, last merge was a bit broken 12 years ago
Rohan Garg 7a2fe5e647 Make sure we also write to the /etc/hosts file 12 years ago
Rohan Garg a0a3b4dc49 Style fixes
Run calamaresstyle over new classes
12 years ago
Rohan Garg 4a4dc74f5c Drop useless line 12 years ago
Rohan Garg b587a0ff00 Add support to set the hostname 12 years ago