Commit Graph

113 Commits

Author SHA1 Message Date
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 915e9de9ad Delete version in arxiv_id when updating, to get the correct result 2014-05-07 22:38:25 +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 bf1eca4c42 Update doc + bugfix in same file checking
* README updated
* Use os.path.samepath to test wether filenames strings are the same
instead of direct comparison.
2014-05-04 02:45:24 +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 787113db66 Bugfixes in fetcher.py + function to find hal id 2014-05-02 00:33:09 +02:00
Phyks 289c7dece4 Functions to handle arXiv metadata 2014-05-02 00:07:49 +02:00
Phyks 980e678883 Function for automatic find of arxiv id 2014-05-01 19:46:04 +02:00
Phyks 5ad2afcf3e Unstable indicated in README 2014-05-01 01:39:07 +02:00
Phyks 6dcfa8623f Forgot to add tools.py file 2014-05-01 01:37:47 +02:00
Phyks bd8d1c3898 Update parsed2Bibtex 2014-05-01 01:36:35 +02:00
Phyks 4eb2aeb9d8 Resync function. To be tested… 2014-05-01 00:45:31 +02:00
Phyks 741cde352e Flake8 2014-04-30 00:54:15 +02:00
Phyks 70d14cad5e Typo in README 2014-04-30 00:48:33 +02:00
Phyks 3d07af0e71 Check output before processing the whole file for ISBN and DOI search 2014-04-30 00:36:49 +02:00
Phyks 91685bc46b Various re.compile 2014-04-29 21:55:35 +02:00
Phyks 7d36f3206f Move server to a new branch 2014-04-28 23:40:37 +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 73809b867d No fail if proxy is not accessible 2014-04-26 18:43: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 ffdbbedfbb Updated example params file 2014-04-26 12:35:07 +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 5396f1e75b Update README 2014-04-25 16:20:04 +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