summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
Commit message (Collapse)AuthorAgeFilesLines
...
* improve previous commit (JATS abstract hack)Bryan Newbold2019-12-031-4/+6
|
* hack: remove enclosing JATS XML tags around abstractsBryan Newbold2019-12-031-1/+7
| | | | | | The more complete fix is to actually render the JATS to HTML and display that. This is just to fix a nit with the most common case of XML tags in abstracts.
* make file edit form hash values case insensitiveBryan Newbold2019-12-021-0/+3
| | | | | | | Test in previous commit. This fixes a user-reported 500 error when creating a file with SHA1/SHA256/MD5 hashes in upper-case.
* Merge branch 'martin-search-results-pagination' into 'master'Martin Czygan2019-11-155-18/+79
|\ | | | | | | | | Add basic pagination to search results See merge request webgroup/fatcat!4
| * gray out inactive navigation linksMartin Czygan2019-11-141-2/+2
| | | | | | | | | | | | | | | | As per [this issue](https://github.com/Semantic-Org/Semantic-UI/issues/1885#issuecomment-77619519), text colors are not supported in semantic ui. To not move text too much, gray out inactive links.
| * move pagination into macrosMartin Czygan2019-11-143-43/+51
| | | | | | | | | | | | | | | | | | Two new macros: * top_results(found) * bottom_results(found) wip: move pagination into macro
| * Add basic pagination to search resultsMartin Czygan2019-11-084-14/+67
| | | | | | | | | | | | | | | | | | | | | | | | The "deep paging problem" imposes some limit, which currently is a hardcoded default value, `deep_page_limit=2000` in `do_search`. Elasticsearch can be configured, too: > Note that from + size can not be more than the index.max_result_window index setting, which defaults to 10,000. -- https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-from-size
* | web: catch MacaroonInitExceptionBryan Newbold2019-11-121-0/+4
|/ | | | | Caught one of these in sentry. Probably due to a crawler? Or typing gibberish in the token form.
* redirect direct entity underscore linksBryan Newbold2019-10-031-0/+28
|
* webface: extra <br> in container lookup linksBryan Newbold2019-09-211-1/+1
|
* remove duplicate style ref in container edit viewBryan Newbold2019-09-201-5/+0
|
* handle more external identifiers in pythonBryan Newbold2019-09-181-0/+4
| | | | | This makes it possible to, eg, past an arxiv identifier or SHA-1 hash in the general search box and do a quick lookup.
* webface: fix duration_seconds parsingBryan Newbold2019-09-181-1/+1
|
* add guide editing links to edit forms and signup messageBryan Newbold2019-09-185-5/+26
|
* python webface impl token generationBryan Newbold2019-09-183-1/+77
|
* slightly less annoying 'flash' message headerBryan Newbold2019-09-181-1/+1
|
* remove '@' from archive.org identBryan Newbold2019-09-171-1/+1
|
* IA auth: use itemname not screenname for usernameBryan Newbold2019-09-171-1/+1
| | | | | | | Have run in to several issues with IA screenname being invalid fatcat usernames (eg, containing whitespace). This probably won't catch all such issues, but hopefully most of them.
* small tweaks to coverage pagesBryan Newbold2019-09-062-1/+2
|
* refactor all python source for client lib nameBryan Newbold2019-09-057-14/+14
|
* small fixes to release viewBryan Newbold2019-09-051-14/+24
| | | | | - full width container metadata table accordion - fix "Published in by blah" cases
* container type: journal display as 'Scholarly Journal'Bryan Newbold2019-09-051-1/+1
|
* remove coverage debug statementsBryan Newbold2019-09-041-10/+0
|
* finish container coverage pageBryan Newbold2019-09-045-29/+110
| | | | Also re-worked container view sidebar a bit more.
* import pygalBryan Newbold2019-09-041-0/+36
|
* start container coverage pageBryan Newbold2019-09-044-2/+104
|
* webface: improve container sidebar styleBryan Newbold2019-09-041-41/+84
|
* clarify default blank form fieldsBryan Newbold2019-09-031-3/+3
|
* include example releases on container landing pageBryan Newbold2019-09-035-81/+137
| | | | | Included making release search results an entity macro (in webface templates).
* do release search by container_id, not issnlBryan Newbold2019-09-032-2/+5
|
* update front-page stats (for containers number)Bryan Newbold2019-09-031-3/+3
|
* additional container webface edit fieldsBryan Newbold2019-09-032-9/+36
|
* webface include webarchive_urls for containersBryan Newbold2019-09-032-1/+6
|
* perpetual access to the scholarly recordBryan Newbold2019-08-241-1/+1
|
* fix revision JSON entity links in webface side barBryan Newbold2019-08-241-1/+15
|
* simplify url_list() template macroBryan Newbold2019-08-241-10/+4
|
* improve wayback view pageBryan Newbold2019-08-242-3/+24
|
* Read Full Text not DownloadBryan Newbold2019-08-241-2/+2
| | | | | On release views. Also don't blue-link webcapture URLs (but still a hyperlink).
* container issnl: handle invalid ISSN-L better, and fix except blocksBryan Newbold2019-08-221-2/+5
|
* web search: container_id, not _identBryan Newbold2019-08-221-1/+1
|
* switch blog post example to openbookpublishersBryan Newbold2019-08-221-1/+1
|
* include in_kbart container countBryan Newbold2019-08-121-0/+2
|
* default container stats by ident, not issnlBryan Newbold2019-08-123-6/+25
|
* add kbart counts to container statsBryan Newbold2019-07-312-1/+5
|
* show release withdrawn statusBryan Newbold2019-07-012-3/+13
| | | | | Including in search results. De-emphasize release_stage button in search results.
* show release original_title in headerBryan Newbold2019-07-011-0/+3
|
* fix whitespace in HTML title; nothing on homeBryan Newbold2019-06-302-2/+3
|
* more descriptive HTML titlesBryan Newbold2019-06-3015-3/+63
|
* complete generic entity rev viewsBryan Newbold2019-06-281-28/+14
| | | | | | Was getting 500s in production from crawlers. Also expand test coverage.
* update front-page statsBryan Newbold2019-06-271-2/+2
|