aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* implement working config file construct, error handling should be improvedlukeflo2025-02-21
|
* parse config filelukeflo2025-02-21
| | | | | | | + set default values for config fields + merge fields named in the config file with default values + values from file take precedence over default values + to accomplish this, all config values are wrapped in `Option<T>`
* remove some comments, update READMElukeflo2025-02-19
|
* resource opener in configlukeflo2025-02-19
| | | | | | + implement config field `pdf_opener` for setting app to open PDFs/Epubs + implement config field `url_opener` for setting app to open URLs/DOIs + function to select fallback if no field is provided in config
* Update READMElukeflo2025-02-17
|
* improve file handlinglukeflo2025-02-17
| | | | | | + If config file **and** CLI args have different files/dirs, concat them and open all + Adapt UI to show which files are choosen + TODO: Flag for ignoring config file
* implement basic config struct and example filelukeflo2025-02-17
|
* Simplify codebaselukeflo2025-01-29
| | | | | | | + Remove EntryTableItem struct + Simply use the initial generated BibiData struct + One simple `.clone()`, thus, replaces multiple iterations + Keep all other actions
* remove EntryTableItem struct, simply use BibiDatalukeflo2025-01-29
|
* try with borrowed valueslukeflo2025-01-29
|
* bug fix for test modullukeflo2025-01-03
|
* Minor Feature: Sort entries by position in/of filelukeflo2024-12-25
| | | | | + Hitting now sorts the entries by position in file or position of files + Can be helpful to detect entries newly added via DOI which are appended to EOF
* Bugfix: Handle citekey duplicateslukeflo2024-12-25
| | | | | | + When adding an entry via DOI check if created citekey is already used + If so, loop over alphabetic chars and append it to citekey + When a unique combination is found, break loop and replace original citekey
* remove unused importlukeflo2024-12-23
|
* replace doi2bib with ureq cratelukeflo2024-12-23
|
* collect code for adding entries and opening files in methodlukeflo2024-12-23
|
* better error messages for doi-addlukeflo2024-12-23
|
* rewrite add-entry via DOI workflowlukeflo2024-12-23
| | | | | | | + split some functions to fit with different popups + select if append to file (and to which) or create new file + error handling if resolving doi ist not possible + error handling for wront doi patterns
* use input struct, place cursor at poslukeflo2024-12-23
|
* use specific search command for entering search input modelukeflo2024-12-23
|
* feat: handle better arXiv's "citation key" imported from DOITrim Bresilla2024-12-23
| | | | | | | | - Add a new dependency `rand` version `0.8` to the project - Modify the `format_bibtex_entry` function for better readability and citation key cleaning - Introduce logic to clean the citation key by retaining only alphanumerical characters and underscores - Limit the citation key to the last 14 characters if it exceeds that length - Add a new `file` field to the BibTeX entry using the provided file path
* fix: hande better eyre's OK and std's OKTrim Bresilla2024-12-23
| | | | | | - Remove unnecessary aliasing of Result to AOk - Simplify the import statement for Result from color_eyre - Update error handling for the new entry resolution process
* feat: add 'file={}' entry in BibTexTrim Bresilla2024-12-23
| | | | | | | - Improve error handling for failed file appends by formatting content before appending. - Modify the `format_bibtex_entry` function to accept a file path argument. - Add a new `file` field to the formatted BibTeX entry. - Ensure the formatted content is written to the file correctly.
* feat: enhance BibTeX entry formatting and file handlingTrim Bresilla2024-12-23
| | | | | | | - Remove the documentation comment for the `append_to_file` function. - Format the content before writing it to the file in the `append_to_file` function. - Add a new function `format_bibtex_entry` to enhance the readability of raw BibTeX entries. - Implement logic to properly parse and format BibTeX entries in the `format_bibtex_entry` function.
* feat: finalize basic "AddEntry" to add from DOITrim Bresilla2024-12-23
| | | | | | | - Modify the `handle_new_entry_submission` method to accept additional arguments. - Add error handling for failed inserts when appending to the file. - Introduce a new method `append_to_file` to handle file appending logic. - Update file handling to ensure new entries are correctly written to the specified file.
* feat: implement entry management in Bibiman TUITrim Bresilla2024-12-23
| | | | | | | | | | - Add `.devbox` to the `.gitignore` file - Create a new backup file `devbox.json.back` with package and shell initialization configurations - Introduce a new method `add_entry` in the Bibiman struct to manage adding entries - Implement functionality to handle new entry submissions using `doi2bib` - Update command actions to include `AddEntry` - Add `AddEntry` as a new popup type in the TUI for creating entries - Enhance the UI rendering to support the new entry popup with input fields and cursor positioning
* Add expansion of ~ to home-dirlukeflo2024-12-01
|
* info for needed step after impl configlukeflo2024-12-01
|
* new() fn for colors structlukeflo2024-11-29
|
* implemented light color schemelukeflo2024-11-29
|
* delete unused code fragmentslukeflo2024-11-28
|
* replace unused varslukeflo2024-11-28
|
* substitute style const for UI renderinglukeflo2024-11-28
|
* color struct impl, integrated with cliargslukeflo2024-11-28
|
* doc string for parse_fileslukeflo2024-11-28
|
* extra safety check for extensionslukeflo2024-11-25
|
* handling of errors and ui for multi file caselukeflo2024-11-25
|
* open correct file in editor, show file infolukeflo2024-11-24
|
* working multi file approachlukeflo2024-11-23
|
* rename files arg field, start rewriting run_editor fnlukeflo2024-11-23
|
* implement needed dep injection of cli argslukeflo2024-11-23
|
* rewrite cli parsing, allow multiple files and dir as argslukeflo2024-11-22
|
* add crateslukeflo2024-11-22
|
* open multiple files: per CLI possiblelukeflo2024-11-22
|
* filepath as OsString, new color shemelukeflo2024-11-22
|
* some typoslukeflo2024-11-18
|
* implement warning message popuplukeflo2024-11-17
|
* Add keybind hints for popup movementlukeflo2024-11-17
|
* finished selection popuplukeflo2024-11-17
|
* working selection popup, but ugly field valueslukeflo2024-11-17
|