CatgirlIntelligenceAgency/code/common
Viktor Lofgren cae1bad274 (*) Add download-sample action, refactor file storage
This changeset adds an action for downloading a set of sample data from downloads.marginalia.nu.

It also refactors out some leaky abstractions out of FileStorageService.  allocateTemporaryStorage has been renamed allocateStorage.  The storage was never temporary in any scenario...

It also doesn't take a storage base, as there was always only one valid option for this input.  The allocateStorage method finds the appropriate base itself.
2024-01-25 13:36:30 +01:00
..
config (*) Add download-sample action, refactor file storage 2024-01-25 13:36:30 +01:00
db (*) Fix broken test, clean up code 2024-01-24 12:50:41 +01:00
linkdb (test) Clean up test usage of migrations 2024-01-12 15:55:50 +01:00
model (*) Fix bug in EdgeDomain where it would permit domains with a trailing period, DNS style. 2023-12-29 16:36:01 +01:00
process (control) New GUI for exporting crawl data samples 2024-01-23 17:08:21 +01:00
renderer (search) Fix acknowledgement page for domain complaints rendering as plain text 2024-01-10 09:26:34 +01:00
service (*) Make new index nodes accept queries by default 2024-01-18 12:05:37 +01:00
service-client (search) Move site information out of the search service and into assistant. 2023-12-09 16:30:06 +01:00
service-discovery (mqapi/control) Repair repartition endpoint, deprecate notify endpoints. 2023-11-27 16:01:12 +01:00
readme.md Update readme.md 2023-03-25 15:27:11 +01:00

Common

These are packages containing the basic building blocks for running a service as well as shared models.

  • db contains SQL code and some database-related utilities.
  • config contains some @Injectables.
  • renderer contains utility code for rendering website templates.
  • service is the shared base classes for main methods and web services.
  • service-client is the shared base class for RPC.
  • service-discovery contains tools that lets the services find each other.
  • process contains boiler plate for batch processes.