Commit Graph

44 Commits

Author SHA1 Message Date
Phyks 62706c5364 Bugfix in manual mode 2014-05-15 00:11:56 +02:00
Phyks 7f1fb2eb54 List 2014-05-14 22:52:17 +02:00
Phyks b2488e5707 Update arXiv papers 2014-05-14 22:45:25 +02:00
Phyks 558946f48d Resync should be working 2014-05-14 17:07:57 +02:00
Phyks 8c0a9e83bc Edit working 2014-05-14 14:53:56 +02:00
Phyks eecdcc93bf Utf-8 + README updated 2014-05-13 15:21:00 +02:00
Phyks b4f0e7c0eb Import / Download / Delete working
All bug should be fixed for the import / download / delete functions.

* Some problems with utf-8 and homogeneize_latex_encoding in
python-bbtexparser are bypassed and will be cleaned in a better way when
the latest version will be available in pip.
* Tweaked regex for isbn, which was not cas insensitive and forgot about
spaces separated numbers.
* File entry in arXiv bibtex is now deleted to avoid confusion.
2014-05-11 19:29:42 +02:00
Phyks 204357222c Fixed some bugs in delete by id / file
* Remove homogeneize_latex_encoding which is problematic
* Fixed encoded path to pdf files
2014-05-11 03:06:18 +02:00
Phyks 481d3eb048 Typo in main 2014-05-09 23:50:57 +02:00
Phyks c8054e2c67 Fixes in argparse 2014-05-09 23:50:19 +02:00
Phyks 681283a0db Download working 2014-05-09 23:37:17 +02:00
Phyks c757b1cb64 Import is working
* Various bugfixes
* Bugfix with utf-8
2014-05-08 22:07:52 +02:00
Phyks 453a30f4ca Move file if filename edited in checkBibtex() 2014-05-07 22:13:03 +02:00
Phyks 73f3fe7778 Update arXiv articles via CLI 2014-05-07 22:04:46 +02:00
Phyks acd9cfb5e0 Some articles don't have DOI / arXiv etc 2014-05-05 02:15:50 +02:00
Phyks e17c97bc4a Tag handling + various bugfixes 2014-05-05 00:19:29 +02:00
Phyks bd91fa2e49 Added an option to edit entries 2014-05-04 01:50:41 +02:00
Phyks 60e8678680 Updated CLI parameters 2014-05-03 02:16:31 +02:00
Phyks e53a52df2b Forgot to add arxiv2bib + Now using argparse 2014-05-03 02:05:55 +02:00
Phyks 1adb1ce947 Open multiple files 2014-05-02 22:08:24 +02:00
Phyks 344029ca27 Added function to open file by id + try / except when writing index file 2014-05-02 12:46:37 +02:00
Phyks 289c7dece4 Functions to handle arXiv metadata 2014-05-02 00:07:49 +02:00
Phyks 4eb2aeb9d8 Resync function. To be tested… 2014-05-01 00:45:31 +02:00
Phyks 46fc17b2da Refactor in progress
TODO :
* Use new API from bibtex-parser
* Split addFile / downloadFile in main to a function in main (interface)
and one in backend
2014-04-28 23:35:06 +02:00
Phyks cce4fd50bb Beginning of refactor 2014-04-28 22:23:05 +02:00
Phyks 613f082471 Upgrade to latest version of bibtex-parser 2014-04-27 10:06:30 +02:00
Phyks 872d93c6aa Use $EDITOR
* Use $EDITOR to edit the bibtex entries, as `git commit` or `crontab -e` does.
* Bugfixes that prevented the import of an article without associated
  bibtex entry or without doi.
2014-04-27 09:46:43 +02:00
Phyks 49df58bf70 Remove first page of IOP papers + various bugfixes 2014-04-26 23:26:25 +02:00
Phyks 0c8e52844a Bugfix with tempfile 2014-04-26 18:40:32 +02:00
Phyks 6e6418fbad Use tempfile when downloading a file URL 2014-04-26 18:27:01 +02:00
Phyks 6e18c16010 Improved doc 2014-04-26 15:32:34 +02:00
Phyks 02e679bc72 Download of papers working
You should pass the url of the pdf file to the script, along with the
`download` parameter. It will try the proxies in the `params.py` file,
until it finds one that allow him to get the pdf file.

TODO : Use pdfparanoia to remove watermarks
2014-04-26 11:52:19 +02:00
Phyks b9f6e145e9 Bugfixes in main.py
* Forgotten "\n"
* Very beginning of a web interface
2014-04-25 16:53:08 +02:00
Phyks 49f4fb41ee Deletion working 2014-04-25 15:36:54 +02:00
Phyks 72e2def380 Import should be working \ol/ 2014-04-25 14:22:34 +02:00
Phyks 138dd92439 Check automatically fetched bibtex 2014-04-25 14:13:37 +02:00
Phyks 20a06d1f41 Add new fields in bibtex 2014-04-25 01:37:19 +02:00
Phyks 70e805f58f Manual check of generated bibtex
* Display the bibtex before adding it, and provide interface to edit it.

TODO :
* Add new fields
2014-04-25 01:13:19 +02:00
Phyks 0f17eaafa6 Added ISBN support
Added support for books using the ISBN number.
2014-04-24 22:39:27 +02:00
Phyks 5aed10f4c5 Check if file already exists when importing 2014-04-24 21:19:27 +02:00
Phyks c304eb2578 Import updated
* Added djvu support
* Nice mask for file renaming

TODO : Append to bibtex index + test if file already exists
2014-04-24 19:38:52 +02:00
Phyks 1420cf37a9 Added extension checking when importing file 2014-04-24 16:23:28 +02:00
Phyks ea53e0720f Working on PDF import
* Search the PDF file for DOI, manual fallback if not found
* Move the PDF file
* Add its Bibtex entry to the general bibtex file

TODO :
* Better renaming
* Adding to bibtex file
2014-04-24 16:18:56 +02:00
Phyks 93d1fefa26 Started the main code 2014-04-24 00:18:49 +02:00