6 Commits (b897619558b57d8388a865b33d401678b7f5feff)

Author SHA1 Message Date
Anubhav Choudhary b897619558 [logUpload] Added some basic tests 5 years ago
Anubhav Choudhary c1aa0b581e [logUpload] suggestionsAndFixes-part3
- Resolved the problem of incomplete log upload
- sizeLimit = 0 fixed (turns off paste functionality)
- Documentation update
- sizeLimit < 0 now needs no hardcoded upper limit
- Calamares::Branding::uploadServerFromMap() serves sizeLimit in bytes
5 years ago
Anubhav Choudhary b42f86f20f [logUpload] suggestionsAndFixes-part2 5 years ago
Anubhav Choudhary 6726a926a4 [logUpload] Configurable upload size limit
A key 'sizeLimit' added to uploadServer field in branding.desc to limit the size of logFile to upload.
5 years ago
Adriaan de Groot 1998405dbb [libcalamaresui] Fix up test for logfile
- this test would fail if the logfile already exists for
  any reason (including "I just ran the test")
- remove the file before expecting an empty logfile
- improve messages; a missing logfile is not a "things cannot
  work" situation, it's a warning
5 years ago
Adriaan de Groot a1ed303820 [libcalamaresui] Add test for Paste
This tests only the termbin ("fiche") paste by sending it
a derpy fixed string. Prints the resulting URL, doesn't
verify in particular.

It'd be rude to run this test too often.
5 years ago