535 Commits (49bdb25f30d3984c8de9552ddae744c1644ae2ba)

Author SHA1 Message Date
Aurélien Gâteau 55f4231c92 EditExistingPartitionDialog: Visual resizing of partitions 10 years ago
Teo Mrnjavac 78a3f1ce57 Merge pull request #81 from calamares/config
Configuration refactor
10 years ago
Teo Mrnjavac 5400afa540 Fix settings.conf loading. 10 years ago
Teo Mrnjavac 014469c849 Improve logging in Module.cpp 10 years ago
Aurélien Gâteau c3efa65668 Make sure all PM filesystem classes are initialized early enough
If FileSystemFactory::init() is not called early enough, we won't get
access to some information such as the number of used sectors.
10 years ago
Teo Mrnjavac 88d5a301c9 Update Calamares modules documentation. 10 years ago
Teo Mrnjavac 83ad1fae0e Debug output in keyboard viewmodule. 10 years ago
Aurélien Gâteau b5c3928609 unsquashfs: Do not ignore rsync failures 10 years ago
Aurélien Gâteau b246a95606 Coding style 10 years ago
Aurélien Gâteau 493e368bf0 update partitionmanager submodule: Build PartResizerWidget 10 years ago
Teo Mrnjavac e9ef90990b Correctly load globalstorage fake. 10 years ago
Teo Mrnjavac 5c8fa759b0 Update testmodule.py for new config structure. 10 years ago
Teo Mrnjavac 8f10c21e5b Big configuration overhaul.
Module descriptors are now module.desc, no configuration allowed inside.
Module config files are <modulename>.conf, installed in
share/calamares/modules.
settings.conf is read from /etc/calamares, then share/calamares, and if
running with --debug also in the current dir.
Module config files are read from /etc/calamares/modules, then
share/calamares/modules, and if running with --debug also in
src/modules/<modulename> relative to the current dir.
10 years ago
Teo Mrnjavac 75e9fd6aa3 Dracut module. 10 years ago
Aurélien Gâteau 415ad2c506 Fix empty error message 10 years ago
Aurélien Gâteau a267ef856e Check file system after the resize, like PM does 10 years ago
Aurélien Gâteau f5ccc616b9 Check file system before resizing: necessary for testResizePartition:shrink to pass 10 years ago
Aurélien Gâteau d48644a49c Improve prettyName of all jobs, log them in execJobList() 10 years ago
Aurélien Gâteau e2fe559f9d testResizePartition: more reliability tests
- use bigger partition sizes
- write a file before resizing, test it is the same after resizing
10 years ago
Aurélien Gâteau dac23c90a1 Implement MoveFileSystemJob: all testResizePartition tests pass 10 years ago
Aurélien Gâteau 4716b1c9b4 Coding style 10 years ago
Aurélien Gâteau 3db6d607ca move MoveFileSystemJob to its own file
It's going to be bigger than the others.
10 years ago
Aurélien Gâteau 249a28910a Make it possible to update message and details fields of a JobResult 10 years ago
Aurélien Gâteau 1314bf944f Update partitionmanager submodule: Include CopySourceDevice and CopyTargetDevice 10 years ago
Aurélien Gâteau f007810118 Implement SetPartGeometryJob and ResizeFileSystemJob
Now testResizePartition:grow and testResizePartition:shrink pass
10 years ago
Aurélien Gâteau 60a224e5cd 3MB is too small for ext4: set a bigger new size for shrink 10 years ago
Aurélien Gâteau 9dac375a31 Don't forget to queue the job! 10 years ago
Aurélien Gâteau 09c3240364 Scaffolding and tests for ResizePartitionJob 10 years ago
Aurélien Gâteau fc3f3eaa3a Update partitionmanager submodule: Make it possible to set partition sectors from the outside world 10 years ago
Teo Mrnjavac 84ec430729 Add some Python API docs. 10 years ago
Aurélien Gâteau e6c80ed5bd Coding style 10 years ago
Teo Mrnjavac 1d6c41e94d A timezone is a file, not a directory. 10 years ago
Aurélien Gâteau 9ce55bfb83 Introduce PartitionSizeWidget to reduce duplication between dialogs 10 years ago
Aurélien Gâteau e482481262 updatePartitionToCreate: avoid crash
Create the new partition before deleting the old one: otherwise the
m_partition member of dlg is dangling at the time we call createPartition()
10 years ago
Aurélien Gâteau 3d40527d29 Make it possible to "resize" (aka delete + create for now) existing partitions 10 years ago
Aurélien Gâteau df790986ae initcpio module, very loosely based on the one from the manjaro branch 10 years ago
Aurélien Gâteau 136d83f958 Add some test file for grub module 10 years ago
Aurélien Gâteau 6131ed212a Import check_chroot_call separately 10 years ago
Teo Mrnjavac 01efeda801 Utils, not util. 10 years ago
Teo Mrnjavac c964093d7c Make libcalamares a proper package and utils a proper submodule. 10 years ago
Aurélien Gâteau 43c88567af Use check_chroot_call 10 years ago
Aurélien Gâteau a1b7d3639e Some test data for fstab module 10 years ago
Aurélien Gâteau 2276ce56f4 Fix fat* filesystems translation 10 years ago
Aurélien Gâteau 87367d5abd fstab: Refactor to be able to add ssd-specific options 10 years ago
Teo Mrnjavac c64e229142 By default, chrootCall should never time out. 10 years ago
Teo Mrnjavac 45ac91c784 Add check_chroot_call to libcalamares Python interface. 10 years ago
Aurélien Gâteau 26e5500e33 chrootCall: Log messages on failure, as well as command outputs 10 years ago
Aurélien Gâteau 6376e1daef Start the process before calling waitForStarted() 10 years ago
Aurélien Gâteau 70a13fc588 Make logging more useful
- Do not log progress percent but log job names.
- Log install failures.
10 years ago
Aurélien Gâteau d175d199eb Rough chroot call failure check 10 years ago
Teo Mrnjavac 271b0945c9 Create jobs in locale viewmodule. 10 years ago
Teo Mrnjavac 34c5ac3182 Add SetTimezoneJob to locale viewmodule. 10 years ago
Teo Mrnjavac a311770e2f Use libcalamares.utils.chroot_call in grub jobmodule. 10 years ago
Teo Mrnjavac cc2e49c6ae Store keyboard layout information in GlobalStorage. 10 years ago
Aurélien Gâteau 7680578b61 Simplify unsquash code
- Merged UnpackEntry and UnpackStatusEntry. Created a entry_for_source dict.
- Removed dead code (update_copy_progress)
10 years ago
Aurélien Gâteau edc70c596b unsquashfs: Fix installation dir 10 years ago
Aurélien Gâteau 45101d15b0 Store log in ~/.cache by default 10 years ago
Teo Mrnjavac 57ee5ac26b Add autologinUser to GlobalStorage. 10 years ago
Aurélien Gâteau 1b695b7355 Fix crash when logging at exit time 10 years ago
Aurélien Gâteau 5126458040 Disable "Next" button if isNextEnabled() of first step returns false 10 years ago
Aurélien Gâteau a75b1809d8 Do not make dummypython fail 10 years ago
Aurélien Gâteau 90670f8b46 Improve formatting of error messages 10 years ago
Teo Mrnjavac b111027d57 Add SetPasswordJob in Users module, hook it all up. 10 years ago
Teo Mrnjavac 8e3002bfbb Add FindCrypt in the users module. 10 years ago
Teo Mrnjavac 46f5dab7fd CreateUserJob for Users viewmodule 10 years ago
Teo Mrnjavac fb32432548 UI for users viewmodule. 10 years ago
Aurélien Gâteau c655c99f67 Hide disk which contains /
Fixes #75
10 years ago
Aurélien Gâteau 551a6ff9ba Fix potential memleak 10 years ago
Aurélien Gâteau 9708669ac7 Use libcalamares.utils.mount 10 years ago
Aurélien Gâteau 0946789f9e Move mounting of special partitions from grub to mount 10 years ago
Aurélien Gâteau 8867f6bc67 Fix progress reporting 10 years ago
Aurélien Gâteau f371ffa696 Iterate on values, not on keys 10 years ago
Aurélien Gâteau 7a0fb52c83 Damn, forgot named tuples cannot be updated. Use a class instead 10 years ago
Aurélien Gâteau 9c27add968 Use os.path.join 10 years ago
Aurélien Gâteau 22299dc585 No need for UnpackEntry.source_dir 10 years ago
Aurélien Gâteau 638a5c021c More precise error handling 10 years ago
Aurélien Gâteau adda405f83 Do not use os.path.join with entry["destination"]
if it starts with a "/" then `destination` will be equal to entry["destination"]
10 years ago
Aurélien Gâteau ecb16dcdca Fix line counting 10 years ago
Aurélien Gâteau 47762d3812 No more need for sourceMountPath 10 years ago
Aurélien Gâteau 75a5bdac60 Fix fuzzy edges around keys (and a warning) 10 years ago
Aurélien Gâteau 03c5a38b90 Show a summary of the partition changes on the summary page 10 years ago
Teo Mrnjavac e7e57689d8 Make sure chrootCall with args list actually passes the args as list. 10 years ago
Teo Mrnjavac 122a6036d5 globalStorage ==> globalstorage fix 10 years ago
Teo Mrnjavac 2232c49471 Make dummypython work with current API. 10 years ago
Teo Mrnjavac 0d3a3a0b78 Fix dummypython for recent API change. 10 years ago
Teo Mrnjavac 63534f7154 Add mount and chrootCall utilities to libcalamares + Python wrappers. 10 years ago
Aurélien Gâteau e3a333e6e6 Prettier PartitionPreview 10 years ago
Aurélien Gâteau fe9e52ee0e PartitionModel: Add IsFreeSpaceRole 10 years ago
Aurélien Gâteau 0ea6f1698b First version of PartitionPreview 10 years ago
Aurélien Gâteau 93cb9fd426 New role for PartitionModel: SizeRole 10 years ago
Aurélien Gâteau 5fc07aad7c Expose colors for Qt::DecorationRole 10 years ago
Aurélien Gâteau 5c1336f2d5 Turn PartitionModel into a tree model
Fixes #12
10 years ago
Aurélien Gâteau e3a52745fc Fix assert failure when recreating partition table 10 years ago
Teo Mrnjavac 4b1975d3e2 PEPify unsquashfs 10 years ago
Teo Mrnjavac 2b097e7f3c PEPify umount 10 years ago
Teo Mrnjavac 2ba96d3b6b PEPify mount 10 years ago
Teo Mrnjavac 585dd20a34 Update README.md 10 years ago
Teo Mrnjavac 1c984c7bf9 PEPify grub 10 years ago
Teo Mrnjavac 98b62808de PEPify fstab 10 years ago
Teo Mrnjavac 906560ffee PEPify dummypython 10 years ago
Teo Mrnjavac 637242776c PEPify testmodule.py 10 years ago
Teo Mrnjavac b988c3ad72 PEPify API fakes in testmodule.py 10 years ago
Teo Mrnjavac fb328494b3 Make the libcalamares Python API better for PEP8 10 years ago
Teo Mrnjavac 5369038ed6 Add debug test to dummypython 10 years ago
Teo Mrnjavac 845ae05f7e Added debug( str ) to the Python API. 10 years ago
Aurélien Gâteau d30b6300ab Unbreak locating of config file when run without --config 10 years ago
Aurélien Gâteau 289704ab90 Make it possible to override the config dir from the command line 10 years ago
Teo Mrnjavac cb53cc41cb Remove __init__.py from unsquashfs 10 years ago
Teo Mrnjavac 422e78236b Make fileCopy in unsquashfs a single function 10 years ago
Teo Mrnjavac b48a66a2e5 Improve readability. 10 years ago
Teo Mrnjavac e937782a4e Fix some lousy error handling 10 years ago
Teo Mrnjavac 4fc2efb7fa Correctly report exit status from Python modules. 10 years ago
Teo Mrnjavac 87ee2b8b8c Improve error reporting for Python jobs. 10 years ago
Teo Mrnjavac 25d37b57dd Use named tuples in unsquashfs. 10 years ago
Teo Mrnjavac 1b4e56e97e Better call to rsync in unsquashfs. 10 years ago
Teo Mrnjavac c42d021b61 Unthreadify FileCopy in unsquashfs. 10 years ago
Teo Mrnjavac f44b8eb758 Count the files in the squashfs image without piping to wc -l. 10 years ago
Teo Mrnjavac cb2dcf7860 Use temp dir for mounting squashfs image. 10 years ago
Teo Mrnjavac 60dda7db49 Begin unsquashfs module, port copy operation from Thus. 10 years ago
Aurélien Gâteau 64f8748c49 Spaces fixes 10 years ago
Aurélien Gâteau 0b01c76687 Coding style 10 years ago
Aurélien Gâteau 9e8c02fa33 Basic fstab module
Misses the 'options' finetunes

Bug #66
10 years ago
Aurélien Gâteau 2d9142487b FillGlobalStorageJob: Add the partition UUID to global storage 10 years ago
Aurélien Gâteau 62d706543b Do not let the user pick a partition type when creating a partition of a GPT disk
Fixes #27
10 years ago
Teo Mrnjavac beafcd9cc4 Consistency: calamares_main ==> run; global_storage => globalStorage 10 years ago
Aurélien Gâteau fb6d80ccb6 Bring back tree view headers 10 years ago
Aurélien Gâteau bf72672cce Make double-clicking on a partition item in the list trigger edit/create 10 years ago
Aurélien Gâteau cd99f64344 Add mnemonics to UI elements 10 years ago
Aurélien Gâteau c3a91f1c8d Implement Revert
Fixes #14
10 years ago
Aurélien Gâteau 675b07799b Dead code-- 10 years ago
Aurélien Gâteau d476f9cba8 Make sure we show info of the first device in the device combo box 10 years ago
Aurélien Gâteau cb546d02f9 Sort device in DeviceModel by device node 10 years ago
Aurélien Gâteau 20521f278c Update doc 10 years ago
Aurélien Gâteau 0f23b8ad5c Add basic grub module. Not enabled for now because it requires a rootfs to work
Fixes #26
10 years ago
Aurélien Gâteau 545eef5761 Refactor mount module to make its code easier to reuse 10 years ago
Aurélien Gâteau 96ede98f27 Update partitionmanager submodule: fix cmake warning 10 years ago
Aurélien Gâteau 92114576ce Create umount module 10 years ago
Teo Mrnjavac 2a231b3532 Try to avoid passing GlobalStorage to Python by value. 10 years ago
Aurélien Gâteau aef2b7e9e7 We can now test mount with testmodule.py: remove the test main() 10 years ago
Aurélien Gâteau 35d2a10177 Remove \t tab to avoid failure in testmodule.py 10 years ago
Aurélien Gâteau e1877adf9c Make testmodule.py more Pythonic 10 years ago
Aurélien Gâteau f2ab67b28b Create bootLoader.installPath in GlobalStorage 10 years ago
Aurélien Gâteau 06a13637b6 Store current boot loader install path in PartitionCoreModule 10 years ago
Aurélien Gâteau ab4604258c Rework boot loader combo box
List MBR of all devices
Does not loose its selection when updated
10 years ago
Aurélien Gâteau c9c1917997 log-- 10 years ago
Aurélien Gâteau a39384eda7 Simplify 10 years ago
Aurélien Gâteau 484d7c4d15 Update partition path after partition has been created
Fixes #56
10 years ago
Teo Mrnjavac da83ecfb13 libcalamares.job is of type libcalamares.Job 10 years ago
Teo Mrnjavac ef28b7f2c1 Add job.setprogress to testmodule.py. 10 years ago
Teo Mrnjavac 78de11a412 Emit job progress from Python jobs. 10 years ago
Aurélien Gâteau 89fd6a950b Add support for per-job progress 10 years ago
Aurélien Gâteau e9da5cb6cb Change signature of JobQueue::progress, add finished() signal
Now uses a qreal for progress instead of current and total
Also added a finished() signal because determining whether the queue is
finished should not be done by comparing a qreal with 1.0 as this is not
precise.
10 years ago
Teo Mrnjavac 2636a1273f Add job.setprogress to Python API. 10 years ago
Teo Mrnjavac c6c2c67560 Rewrite Python error handling to show meaningful messages. 10 years ago
Aurélien Gâteau 0234415976 Add "mount" module 10 years ago
Aurélien Gâteau c8129898fc Introduce FillGlobalStorageJob 10 years ago
Aurélien Gâteau 7763587c01 Move PartitionIterator to its own file 10 years ago
Teo Mrnjavac ed0fd6d207 Merge pull request #54 from calamares/wip/job-order
Queue module jobs in the order they are listed in the "install" section of settings.conf
10 years ago
Aurélien Gâteau b5b72855c3 Queue module jobs in the order they are listed in the "install" section of settings.conf 10 years ago
Teo Mrnjavac 533cba6437 [testmodule.py] File with fake global_storage contents for testing. 10 years ago
Teo Mrnjavac 4881684e18 [testmodule.py] Simulate global storage contents from a YAML file. 10 years ago
Aurélien Gâteau 1b64917385 Use findPartitionByMountPoint in updateHasRootMountPoint 10 years ago
Aurélien Gâteau a335c1cc04 Coding style fixes 10 years ago
Aurélien Gâteau 906019facc Add combo box to pick boot loader installation destination 10 years ago
Aurélien Gâteau 3e3329d4f2 Rework PartitionPage appearance, prior addition of boot loader UI 10 years ago
Teo Mrnjavac 81eca92418 Added testmodule.py script to test Python modules. 10 years ago
Teo Mrnjavac 73f03017fd Spaces, not tabs. 10 years ago
Teo Mrnjavac 0753e6ccde New GlobalStorage map. With Python API support. 10 years ago
Aurélien Gâteau 4c88603872 Fix bug with tiny disks and mbr partition tables 10 years ago
Aurélien Gâteau 26f6943f8a Add support for formatting existing partitions
closes #24
10 years ago
Aurélien Gâteau a5fcb9bcb9 Improve CreatePartitionJob::prettyName 10 years ago
Aurélien Gâteau d374d8bad8 Introduce PartitionJob 10 years ago
Teo Mrnjavac 4516213b0b Add some dummy configuration to dummypython, and then show it. 10 years ago
Teo Mrnjavac d9f4c74537 Add support for config map to Python job API.
Rename PythonJobHelper ==> CalamaresPython::Helper.
Add QVariant to boost::python::object conversion functions.
Rename some constants in the libcalamares Python API.
10 years ago
Teo Mrnjavac 2f03dfa43b CalamaresPrivate ==> CalamaresPython 10 years ago
Aurélien Gâteau 568f2abd0b Reproduce and fix bug #28 10 years ago
Aurélien Gâteau 99fe98a9cf Unbreak test. Unfortunately it did not reproduce bug #28 10 years ago
Aurélien Gâteau 7e8c5a980c Make Runner::run() returns a bool indicating success or failure 10 years ago
Aurélien Gâteau eebc71257f Nicer error messages 10 years ago
Aurélien Gâteau 26d0b52342 Unbreak build 10 years ago
Aurélien Gâteau 6f65a4b16c Add a (failing for now) test for extended partitions
This reproduces bug #28
10 years ago
Aurélien Gâteau 43f29b8058 Start working on tests for partition jobs 10 years ago
Teo Mrnjavac 031c405c60 Let's not keep commented out code. 10 years ago
Teo Mrnjavac e33e9de6f6 Symlink lib/calamares/libcalamares.so to lib/libcalamares.so for Python. 10 years ago
Teo Mrnjavac a61a36d99d We have a Python API for jobmodules!
Created a Boost.Python module interface in libcalamares.
Added a PythonJob wrapper and exposed it in the Python module.
Rename target calamareslib ==> calamares so in Python it's libcalamares.
Python-related classes in libcalamares that aren't exported as C++
symbols are now in a CalamaresPrivate namespace.
Import the libcalamares python module into every Python script before
running it.
Added Python error handling to PythonJobHelper.
Added some more testing code to dummypython module.
10 years ago
Teo Mrnjavac c13179fdf0 Add debugMode bool to Calamares::Settings. 10 years ago
Teo Mrnjavac 6559197c4b Expose some more version constants in CalamaresVersion.h 10 years ago
Aurélien Gâteau 9c89e68672 Get rid of partview, it's no longer useful 10 years ago
Aurélien Gâteau 0d915b4995 Always delete logical partitions first when deleting an extended partition 10 years ago
Aurélien Gâteau d7a853ee06 Scaffolding for exiting partition reformating 10 years ago
Aurélien Gâteau 4e49f59333 Turn PartitionCoreModule::refreshPartitionModel() into refresh() and make it public 10 years ago
Aurélien Gâteau 5c594f8dd7 Fix doc 10 years ago
Aurélien Gâteau 8a64dcb270 Coding style fixes 10 years ago
Aurélien Gâteau ec6703b9cd Start creating EditExistingPartitionDialog 10 years ago
Aurélien Gâteau 5daa1b82e8 Refactor: PartitionInfo is no longer a class 10 years ago
Aurélien Gâteau ff5667cb73 Turn all extra PartitionInfo fields into QObject properties of Partition 10 years ago
Aurélien Gâteau 9b57b98a93 No point doing this: editing extended partitions is not supported for now 10 years ago
Teo Mrnjavac 846812f49b Update README.md 10 years ago
Teo Mrnjavac 32beec0243 Update README.md 10 years ago
Teo Mrnjavac 2f628cd1d4 Add dummy python jobmodule. 10 years ago