Commit graph

7054 commits

Author SHA1 Message Date
2599fc06b4 create_entity_from_seed: give a chance to find another image if the provided image url fails 2025-06-12 17:32:45 +02:00
000520dc7c resolver: do not let an error in convertAndCleanupImageUrl crash the entity creation or update
as it might happen if a third party service is down (ex: catalogue.bnf.fr)
2025-06-12 17:14:56 +02:00
91f4677dd3 remove obsolete code
jingo related dependency

mediawiki is not supposed to need this data

raised thanks to #853
2025-06-12 14:43:05 +02:00
372bbdf2c9 Merge pull request 'Update links from github.com to codeberg.org' (#853) from AntoninDelFabbro/inventaire:readme-github.com_to_codeberg.org into main
Reviewed-on: #853
2025-06-12 14:40:52 +02:00
ce6b1782e7 Update default.cjs & package.json 2025-06-12 14:40:52 +02:00
112bf3312c Update links from github.com to codeberg.org
- Screenshot haven't been found so can't be updated
2025-06-12 14:40:52 +02:00
0cf03660b3 Merge pull request 'Delete comment since "for the moment" isn't the case anymore' (#854) from AntoninDelFabbro/inventaire:comment_outdated into main
Reviewed-on: #854
2025-06-12 14:34:18 +02:00
36b46986c2 Delete comment since "for the moment" isn't the case anymore
Sources:
- Comment added on 2021-03-03: 49df125dcc
- Issue closed on 2024-09-14: https://github.com/inventaire/inventaire/issues/182
2025-06-12 14:34:18 +02:00
0f76a78107 abuse_reports: do not truncate text
as that might cut the relevant spam part from the report
2025-06-10 21:43:51 +02:00
9a8fff7c8e docs: + development/running_tests.md 2025-06-06 10:35:56 +02:00
e2256e7f43 wikidata edit: allow to choose if requests are made with IPv4 or IPv6
in case either IP is blocked by Wikimedia
2025-06-05 23:22:31 +02:00
4d2ab7188c entities lib: uniqByUri: add types 2025-06-05 23:17:26 +02:00
11cf6f205e get_publisher_publications: include cached entities relations
Introducing the config.entitiesRelationsTemporaryCache.confirmCachedRelationsOnPrimaryData parameter
to be able to test this caching behavior
2025-06-05 13:52:35 +02:00
c614bbd735 get_publisher_publications: include wikidata entities 2025-06-05 13:23:47 +02:00
b7aefc61e6 wikidata queries: publisher_collections: remove obsolete type aliases
Following 1fbb1563d
2025-06-05 13:12:52 +02:00
90db451a54 entities_relations_temporary_cache: increase verbosity 2025-06-05 12:31:44 +02:00
00d37e69f8 config: add a defaultLandingPageMapPosition parameter 2025-06-05 11:01:23 +02:00
4354811502 get_wikidata_enriched_entities: fix getCachedEnrichedEntities 2025-06-04 22:40:43 +02:00
7a8a4ddf12 logs: add error message to minimalist 4xx error logs 2025-06-04 21:26:16 +02:00
1196b22720 fs lib: saveFile: throw error if the saved file is empty 2025-06-04 21:26:16 +02:00
137727af93 download_image: use named export 2025-06-04 21:26:16 +02:00
b5e9330fc6 images lib: fix some types 2025-06-04 21:26:16 +02:00
8a409c79db tests: placeholder_images: fix sendCustomImage 2025-06-04 21:26:16 +02:00
fdd4d91206 errors stats: allow to set an error category
to allow more fine-grained stats for local errors
2025-06-04 21:26:16 +02:00
10fc81dbb1 images: move saveFile function to fs lib 2025-06-03 19:04:12 +02:00
ad1823d0df naming: replace improper uses of "domain" 2025-06-03 16:49:28 +02:00
7447c00a08 leveldb config: allow to disable directory path suffix
with the docker setup in mind, in which a single explicit path will be set
2025-06-03 16:03:01 +02:00
de0249749c entity model: fix inferred values updates 2025-06-03 15:02:49 +02:00
87921e72ab get_openlibrary_entry_from_isbn: filter-out entries with inconsistent isbns 2025-06-03 14:35:18 +02:00
62fd8e2728 4.0.0 2025-06-02 16:25:39 +02:00
80aa739f80 wikidata edits: allow to set a socks proxy from config
to work around blocked IP
cf https://www.wikidata.org/wiki/Wikidata:Administrators%27_noticeboard/Archive/2025/04#Recover_the_local_exception_for_IP_2A01:4F8:C010:4326::1_to_the_global_open_proxy_block_targeting_2A01:4F8:0:0:0:0:0:0/32
and https://www.wikidata.org/wiki/Wikidata:Administrators%27_noticeboard/Archive/2025/05#Recover_the_local_exception_for_IP_2A01:4F8:C010:4326::1_to_the_global_open_proxy_block_targeting_2A01:4F8:0:0:0:0:0:0/29
2025-05-29 16:19:57 +02:00
f396183db2 dependencies: update wikibase-edit
to recover the option to pass a custom http agent
2025-05-29 15:51:00 +02:00
199c1783c6 resolver: guess edition title from resolved works labels 2025-05-28 12:02:56 +02:00
ae919ee144 package.json: update inventaire-i18n source 2025-05-17 14:58:01 +02:00
3dcf2312f7 docs: update links to match forgejo path structure 2025-05-17 12:17:24 +02:00
e12f2de6bd add .github/README 2025-05-16 17:52:01 +02:00
a7da0b3fc8 de-github-ify links
with agnostic URL when possible, or directly the new forge URL for straightforward URL (ie. cloning)
2025-05-16 16:54:53 +02:00
647f3db2ee controllers: set sanitization objects to readonly 2025-05-15 16:24:03 +02:00
76819910e8 eslint: disable the array-callback-return rule 2025-05-15 16:24:03 +02:00
0f292364b4 entities: P127 "owned by": extend possible value to publishers
as an easy step before creating the "organization" entity type
2025-05-15 15:02:46 +02:00
a8ea810175 extended_type_aliases_queries: add scholarly chapter (wd:Q21481766) and software category (wd:Q17155032) to genres denylist 2025-05-14 12:07:36 +02:00
257df4c9a5 tests: entity unit tests: update
following 10958d8c1 (PR #824)
2025-05-13 19:42:24 +02:00
10958d8c1b
Merge pull request #824 from inventaire/remove-unique-constraint-on-external-ids
Remove uniqueness constraint on external ids
2025-05-10 21:55:45 +02:00
c48e757d7f entities: non-dataadmin user merge: create a task when there is a possible external id conflict 2025-05-10 21:53:10 +02:00
735087e3d5 properties: remove unique value constraint on external ids
to allow merging entities with external ids from duplicated entries in the external database
2025-05-10 21:53:10 +02:00
ded82bd318 config: cleanup
following 0c75131
2025-05-08 18:43:53 +02:00
559a46ff85 entities: remove unused radio events
Following changes made in 891aac8
2025-05-07 15:57:02 +02:00
2482da9107 types: move Awaitable to server/types/common.ts
to make it available to the client
2025-05-07 10:58:35 +02:00
3dd62a1a30 properties: add pseudonym (wdt:P742)
Addressing https://github.com/inventaire/inventaire/issues/842
2025-05-05 22:53:25 +02:00
f4d8e029e9 task update: make logs more verbose
improves debugging on a cold path
2025-05-02 16:47:55 +02:00