Commit graph

70 commits

Author SHA1 Message Date
Her Email
7a6a8a432b fix edited_time 2023-11-20 19:34:39 -05:00
Her Email
d96f681e39 fix security concerns 2023-11-14 23:05:27 -05:00
doubaniux
38cf2376b1
Frontend API preflight support (#359)
* add webapp submodule
* add http OPTIONS support
* add cors headers

Co-authored-by: Henri Dickson <90480431+alphatownsman@users.noreply.github.com>
2023-11-02 16:28:11 -04:00
Your Name
3110317bd3 prepare for merge 2023-10-22 17:46:34 -04:00
Your Name
7855c14578 upgrade some deps 2023-10-22 17:46:34 -04:00
Your Name
a761eaca19 remove opencc #346 2023-10-22 17:46:34 -04:00
Your Name
c45e9f6016 sync site config during boot; customize site logo 2023-10-22 17:46:34 -04:00
Your Name
8638479240 add takahe as submodule 2023-10-22 17:46:34 -04:00
Your Name
239ad4271a takahe integration 2023-10-22 17:46:34 -04:00
Your Name
f552ae64cc update docker configuration; pin pyright to a working version for now 2023-08-17 02:47:58 -04:00
Your Name
a69fc2ac4b fix precommit yaml 2023-08-10 16:03:38 -04:00
Your Name
22640a74ab fix unicode site name; add isort; split journal and users models 2023-08-10 11:37:29 -04:00
Your Name
5aabdcd1bc django 4 2023-07-06 19:01:23 -04:00
Your Name
fbb4bbc437 set username and login via email 2023-07-05 12:04:27 -04:00
Your Name
8ba8c4490e token and app mgmt 2023-06-28 08:33:01 -04:00
Your Name
58f6e7bd4f keep test happy 2023-06-19 13:10:11 -04:00
Your Name
18e3792a3d keep test happy 2023-06-19 13:10:11 -04:00
Your Name
7c5a02bac7 use django-audit-log 2023-06-19 13:10:11 -04:00
Your Name
3bb677b68d cleanup tv seasons 2023-06-12 15:08:22 -04:00
Your Name
2ddef18672 switch to mistune official release 2023-06-09 15:31:16 -04:00
Your Name
db96a267fc better render array and dict in edit form 2023-06-05 19:02:14 -04:00
Your Name
bb6e7dccb6 fix some mastodon 3.x login 2023-06-03 19:21:18 -04:00
Your Name
a7857d99b2 add authentication to api; add me and shelf api; add developer console 2023-06-02 22:01:56 -04:00
Henri Dickson
0ffd47ca96
new style
* new style with picocss
* djlint
* rate distribution
* collection item drag to order
* discover available for guest
* search combine movie tv
2023-05-20 11:01:18 -04:00
Your Name
eee3dbe411 add like; replace inline icons with font-awesome 2023-02-11 20:43:19 -05:00
Your Name
7b3873e649 import, mark and search podcast 2023-02-01 22:55:26 -05:00
Your Name
fc7325580c use mistune instead of python-markdown to keep leading unicode space(emsp) in markdown 2023-01-30 17:12:25 -05:00
Your Name
9e21854dce update rq api to 1.12+, fix a rare 500 2023-01-29 21:30:04 -05:00
Your Name
6c197136d1 enable cache for search 2023-01-29 21:13:30 -05:00
Your Name
945d3c2058 render profile note with html bleached 2023-01-26 21:27:13 -05:00
Your Name
f14b239043 fix merge error 2023-01-12 17:23:45 -05:00
Your Name
1550e3421a user may change mark date 2023-01-12 17:23:45 -05:00
Your Name
2bc728e8d6 adjust doc for 0.5 2023-01-11 22:53:47 -05:00
Your Name
d61dd2b9e2 make test happy 2023-01-10 17:02:42 -05:00
Your Name
218de03541 remove hstore 2023-01-10 16:56:51 -05:00
Their Name
a4130595ce not use binary pg for production as official advise 2023-01-07 18:32:07 +00:00
Your Name
cb390f1d17 503 pages 2023-01-07 12:00:09 -05:00
Your Name
57ae96873e add/edit item page 2023-01-05 03:06:13 -05:00
Your Name
6a392ac954 disable python 3.8 in testing 2023-01-02 00:13:19 -05:00
Your Name
116ca00a7d new data model: mark and review 2022-12-24 01:28:24 -05:00
Te Llamas
b5c849d6b0 merge from main 2022-12-09 23:42:05 +00:00
Your Name
51538db80f fix minor douban tv parser error
switch pg package to binary for faster deployment

sync minor local changes
2022-12-07 19:07:09 -05:00
doubaniux
2645bc05f0 Merge remote-tracking branch 'neo/main' into generalization 2022-11-26 19:41:14 +01:00
doubaniux
ef70e5f9c6 generalize instance related code 2022-11-11 18:40:02 +01:00
Your Name
9802775994 before adding some real tests 2022-11-10 14:17:48 -05:00
Henri Dickson
14b003a44a add all NeoDB features to NiceDB (#115)
* fix scraping failure with wepb image (merge upstream/fix-webp-scrape)

* add filetype to requirements

* add proxycrawl.com as fallback for douban scraper

* load 3p js/css from cdn

* add fix-cover task

* fix book/album cover tasks

* scrapestack

* bandcamp scrape and preview ;
manage.py scrape <url> ;
make ^C work when DEBUG

* use scrapestack when fix cover

* add user agent to improve compatibility

* search BandCamp for music albums

* add missing MovieGenre

* fix search 500 when song has no parent album

* adjust timeout

* individual scrapers

* fix tmdb parser

* export marks via rq; pref to send public toot; move import to data page

* fix spotify import

* fix edge cases

* export: fix dupe tags

* use rq to manage doufen import

* add django command to manage rq jobs

* fix export edge case

* tune rq admin

* fix detail page 502 step 1: async pull mastodon follow/block/mute list

* fix detail page 502 step 2: calculate relationship by local cached data

* manual sync mastodon follow info

* domain_blocks parsing fix

* marks by who i follows

* adjust label

* use username in urls

* add page to list a user\'s review

* review widget on user home page

* fix preview 500

* fix typo

* minor fix

* fix google books parsing

* allow mark/review visible to oneself

* fix auto sync masto for new user

* fix search 500

* add command to restart a sync task

* reset visibility

* delete user data

* fix tag search result pagination

* not upgrade to django 4 yet

* basic doc

* wip: collection

* wip

* wip

* collection use htmx

* show in-collection section for entities

* fix typo

* add su for easier debug

* fix some 500s

* fix login using alternative domain

* hide data from disabled user

* add item to list from detail page

* my tags

* collection: inline comment edit

* show number of ratings

* fix collection delete

* more detail in collection view

* use item template in search result

* fix 500

* write index to meilisearch

* fix search

* reindex in batch

* fix 500

* show search result from meilisearch

* more search commands

* index less fields

* index new items only

* search highlights

* fix 500

* auto set search category

* classic search if no meili server

* fix index stats error

* support typesense backend

* workaround typesense bug

* make external search async

* fix 500, typo

* fix cover scripts

* fix minor issue in douban parser

* supports m.douban.com and customized bandcamp domain

* move account

* reword with gender-friendly and instance-neutral language

* Friendica does not have vapid_key in api response

* enable anonymous search

* tweak book result template

* API v0

API v0

* fix meilisearch reindex

* fix search by url error

* login via twitter.com

* login via pixelfed

* minor fix

* no refresh on inactive users

* support refresh access token

* get rid of /users/number-id/

* refresh twitter handler automatically

* paste image when review

* support PixelFed (very long token)

* fix django-markdownx version

* ignore single quote for meilisearch for now

* update logo

* show book review/mark from same isbn

* show movie review/mark from same imdb

* fix login with older mastodon servers

* import Goodreads book list and profile

* add timestamp to Goodreads import

* support new google books api

* import goodreads list

* minor goodreads fix

* click corner action icon to add to wishlist

* clean up duplicated code

* fix anonymous search

* fix 500

* minor fix search 500

* show rating only if votes > 5

* Entity.refresh_rating()

* preference to append text when sharing; clean up duplicated code

* fix missing data for user tagged view

* fix page link for tag view

* fix 500 when language field longer than 10

* fix 500 when sharing mark for song

* fix error when reimport goodread profile

* fix minor typo

* fix a rare 500

* error log dump less

* fix tags in marks export

* fix missing param in pagination

* import douban review

* clarify text

* fix missing sheet in review import

* review: show in progress

* scrape douban: ignore unknown genre

* minor fix

* improve review import by guess entity urls

* clear guide text for review import

* improve review import form text

* workaround some 500

* fix mark import error

* fix img in review import

* load external results earlier

* ignore search server errors

* simplify user register flow to avoid inconsistent state

* Add a learn more link on login page

* Update login.html

* show mark created timestamp as mark time

* no 500 for api error

* redirect for expired tokens

* ensure preference object created.

* mark collections

* tag list

* fix tag display

* fix sorting etc

* fix 500

* fix potential export 500; save shared links

* fix share to twittwe

* fix review url

* fix 500

* fix 500

* add timeline, etc

* missing status change in timeline

* missing id in timeline

* timeline view by default

* workaround bug in markdownx...

* fix typo

* option to create new collection when add from detail page

* add missing announcement and tags in timeline home

* add missing announcement

* add missing announcement

* opensearch

* show fediverse shared link

* public review no longer requires login

* fix markdownx bug

* fix 500

* use cloudflare cdn

* validate jquery load and domain input

* fix 500

* tips for goodreads import

* collaborative collection

* show timeline and profile link on nav bar

* minor tweak

* share collection

* fix Goodreads search

* show wish mark in timeline

* resync failed urls with local proxy

* resync failed urls with local proxy: check proxy first

* scraper minor fix

* resync failed urls

* fix fields limit

* fix douban parsing error

* resync

* scraper minor fix

* scraper minor fix

* scraper minor fix

* local proxy

* local proxy

* sync default config from neodb

* configurable site name

* fix 500

* fix 500 for anonymous user

* add sentry

* add git version in log

* add git version in log

* no longer rely on cdnjs.cloudflare.com

* move jq/cash to _common_libs template partial

* fix rare js error

* fix 500

* avoid double submission error

* import tag in lower case

* catch some js network errors

* catch some js network errors

* support more goodread urls

* fix unaired tv in tmdb

* support more google book urls

* fix related series

* more goodreads urls

* robust googlebooks search

* robust search

* Update settings.py

* Update scraper.py

* Update requirements.txt

* make nicedb work

* doc update

* simplify permission check

* update doc

* update doc for bug report link

* skip spotify tracks

* fix 500

* improve search api

* blind fix import compatibility

* show years for movie in timeline

* show years for movie in timeline; thinner font

* export reviews

* revert user home to use jquery https://github.com/fabiospampinato/cash/issues/246

* IGDB

* use IGDB for Steam

* use TMDB for IMDb

* steam: igdb then fallback to steam

* keep change history

* keep change history: add django settings

* Steam: keep localized title/brief while merging IGDB

* basic Docker support

* rescrape

* Create codeql-analysis.yml

* Create SECURITY.md

* Create pysa.yml

Co-authored-by: doubaniux <goodsir@vivaldi.net>
Co-authored-by: Your Name <you@example.com>
Co-authored-by: Their Name <they@example.com>
Co-authored-by: Mt. Front <mfcndw@gmail.com>
2022-11-09 19:56:50 +01:00
Your Name
4b81421419 keep change history 2022-09-08 19:41:56 -04:00
Your Name
0f03dfa785 IGDB 2022-09-07 00:35:11 -04:00
Your Name
e4e150b6b1 make nicedb work 2022-07-31 02:37:59 -04:00
alphatownsman
d4c1a00f15
Update requirements.txt 2022-07-29 21:50:53 -04:00