aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Warn against abusing the APIHEADmasterA Farzat19 hours1-4/+10
|
* Add a basic CONTRIBUTING.mdA Farzat36 hours1-0/+113
|
* Add license details properlyA Farzat37 hours7-1/+22
|
* Release v0.1.3v0.1.3A Farzat38 hours2-2/+2
|
* Update READMEA Farzat38 hours1-22/+55
|
* Make maximum parallel downloads configurableA Farzat39 hours2-6/+13
| | | | Still limit it to 8 as more is ineffective and could trigger O'Reilly.
* Add parallel downloadingA Farzat39 hours1-15/+47
| | | | | This can be helpful when files are small in size, like the components of an EPUB.
* Stream downloads to files directlyA Farzat40 hours3-11/+52
|
* Add release creation to GitLab CIv0.1.2A Farzat45 hours1-3/+30
|
* Prevent accidental GitLab CI releases using 'when'A Farzat45 hours1-0/+2
|
* Remove redundant backslash in GitLab CI commandsA Farzat45 hours1-4/+4
|
* Add appropriate toolchains and ENV to GitLab CIA Farzat2 days1-0/+14
| | | | | Toolchains are needed to link the targets. ENV variables ensure the correct tools are used.
* Add more linux targets to GitLab CIA Farzat2 days1-5/+24
|
* Set CARGO_HOME in GitLab CI to inside project dirA Farzat2 days1-0/+3
| | | | This lets it know where to find and cache cargo files.
* Add cargo-clippy manually for GitLab CIA Farzat2 days1-1/+1
|
* Manually install rustfmt for GitLab CIA Farzat2 days1-0/+1
|
* Add basic GitLab CI workflowA Farzat3 days1-0/+49
|
* Release v0.1.2A Farzat3 days2-2/+2
|
* Upgrade GitHub workflow to action-gh-releaseA Farzat3 days1-27/+6
| | | | This is because upload-release-asset was deprecated.
* Create releases using GitHub workflowsv0.1.1A Farzat3 days1-5/+54
|
* Release v0.1.1A Farzat3 days2-2/+2
|
* Add release build to GitHub workflowA Farzat3 days1-0/+32
|
* Add GitHub workflow job for testsA Farzat3 days1-0/+23
| | | | | Though we do not have any tests yet, this will make sure they are checked once they are there.
* Fix formattingA Farzat3 days1-1/+3
| | | | | For future reference, the User-Agent was obtained from https://hasdata.com/blog/user-agents-for-web-scraping
* Add simple GitHub workflow job checking fmt & lintA Farzat3 days1-0/+33
|
* Avoid useless jar clone and update User-AgentA Farzat3 days1-2/+2
|
* Use a generic writer in write_container_xmlA Farzat3 days1-12/+9
| | | | This should allow for easier testing down the line.
* Remove unused models, fields, and endpointsA Farzat3 days2-48/+6
| | | | | | If they are ever needed again, they can be added back. Also set API endpoints fields to Url type instead of String.
* Allow cookies.json in config dirA Farzat3 days2-9/+30
| | | | | This allows running the program from anywhere, given the cookies are placed in the config dir.
* Update the TODO listA Farzat4 days1-3/+3
|
* Add EPUB descriptions to OPF filesA Farzat4 days2-1/+11
|
* Create a function to modify OPF contentsA Farzat4 days1-1/+45
| | | | The main purpose for now is to add the description.
* Use XDG directories to map downloadsA Farzat4 days4-7/+70
| | | | | | | | This provides standard locations for files regardless of the location of the binary and/or the working directory. Could allow some customization in the future, both as a permanent config or one-time case.
* Add newline between wrapper and chapter contentA Farzat4 days1-0/+2
| | | | | This makes it easier to identify diff lines caused by quick_xml from those of the wrapper.
* Allow skipping downloadsA Farzat4 days1-4/+6
| | | | This streamlines testing.
* Hide unnecessary output in diff-epubs.shA Farzat4 days1-2/+2
|
* Register roadmap progress in READMEA Farzat4 days1-8/+4
|
* Stream files to zip in chunksA Farzat4 days1-6/+5
| | | | Doing so reduces peak memory.
* Avoid using string buffers when modifying chaptersA Farzat4 days2-34/+41
| | | | | This saves on memory. Bytes are read from the file as needed, and written to zip as soon as they are ready.
* Fix attributes of more element types with linksA Farzat4 days1-3/+16
|
* Prevent processed_fragment from escapingA Farzat5 days1-4/+5
| | | | | | This is done by not including it in the xml! macro in the first place. Instead, it is inserted later by using format!. This is because ogrim does not support injecting raw xml yet (to my knowledge).
* Replace format! macro with xml! where xml is usedA Farzat5 days2-32/+38
| | | | | This commit does not produce a working version, as processed_fragment is escaped by xml!. This needs to be resolved.
* Add a util to diff epubsA Farzat5 days1-0/+13
| | | | This helps in debugging the effects of code changes.
* Use xml! macro for cleaner xml handlingA Farzat5 days3-10/+41
|
* Fix chapter contents to proper xmlA Farzat5 days6-10/+176
| | | | | | | Change resource URLs using attribute matching (only img src for now, should add more later). Add respective stylesheets to chapters.
* Add LICENSE fileA Farzat5 days2-1/+675
|
* Gather stylesheet file entries for each chapterA Farzat6 days2-2/+13
| | | | This prepares them to be added to their xhtml content.
* Add stylesheets to Chapter modelA Farzat6 days1-0/+7
| | | | | This allows these stylesheets to be added to the chapter contents later during zipping.
* Deserialize URLs to Url type directlyA Farzat7 days4-14/+11
| | | | | This saves the effort of having to do it manually later on. Also avoids duplication in parsing.
* Add READMEA Farzat7 days1-0/+113
|