Mohsen Taba
5f9b2f195b
refactor(transmitters): convert original text to single text field with data migration and populate reference metadata scripts
3 days ago
Mohsen Taba
3ef25ce5c3
feat(hadis): add tags field to HadisSourceDetailsSerializer
4 days ago
Mohsen Taba
ce99524640
feat(hadis): include rich references in HadisListSerializer and optimize prefetching
4 days ago
Mohsen Taba
8cd05afe9a
fix(hadis): include full book/author/edition fields in interpretation & original text references and disable aggressive caching on interprets endpoint
4 days ago
Mohsen Taba
76575da481
feat(hadis): support multiple book references with scan images, volume details, and admin endpoints
5 days ago
Mohsen Taba
23aa54d18b
feat(hadis): add tags list endpoint and support tag filtering and search
5 days ago
Mohsen Taba
0d2e6b782f
feat(backend): multilingual companion_type, restrict madhhab choices, and fix orphan bookmarks
- hadis: convert companion_type to multilingual JSONField with localized serialization
- hadis: restrict MadhhabChoices to SHIA and SUNNI with default SHIA
- bookmark: filter out orphan/phantom bookmarks and deactivate inactive content bookmarks
- podcast: enhance UserPlaylistListAPIView to filter directly by bookmarked podcasts
- utils/mixins: support numeric ID lookup and enhance Gone410ViewMixin / CanonicalSlugViewSetMixin
- runner: optimize docker pre-build cleanup
- docs: add technical migration guide for Flutter offline SQLite hadith sync
4 weeks ago
Mohsen Taba
27c291c682
refactor(open_book_url): strictly return volume file url or null without fallbacks
4 weeks ago
Mohsen Taba
354a64c742
feat(hadis): add single-file sqlite export and optimize sync serializers
- Optimize HadisSyncSerializer: remove unused number, address_details, and book descriptions
- Separate sync serializers for corrections and interpretations (omitting redundant hadis_info and category_info)
- Add HadisDatabaseVersion model and migration for tracking offline SQLite DB
- Add export_hadis_sqlite management command with gzip compression and single-file overwrite
- Add GET /api/hadis/sync/database/ endpoint and enhance version serializers
- Automatically trigger background SQLite database export on version increment in admin
1 month ago
H.shokhmgar86
ee1e9d830e
feat: implement dynamic localization fields and category serializers for Hadis models
1 month ago
Mohsen Taba
ee33545d58
feat(hadis): add hadis_ids to pinned and middle collection serializers with prefetch optimization
1 month ago
Mohsen Taba
f56736a23c
feat(corrections): apis updated for hadith corrections
1 month ago
Mohsen Taba
73cf49958a
feat(hadis): return raw translations in sync api and invalidate cache on version update
- Return raw, unlocalized translation list in HadisSyncSerializer for Flutter offline multi-language support
- Enable hadis signals in HadisConfig.ready() to load cache invalidation listeners
- Add ContentRelease to TARGET_MODELS and implement invalidate_hadis_cache helper
- Trigger explicit cache invalidation in AdminContentReleaseViewSet upon version increment and CRUD
- Update HadisSyncView swagger documentation example
1 month ago
Mohsen Taba
d1094a4725
perf(hadis): optimize sync api, eliminate N+1 queries, add redis caching and gzip
- Eliminate N+1 queries in hadis serializers by using in-memory prefetch cache instead of .first() and .order_by()
- Add select_related for hadis and category in HadisSyncView prefetches
- Apply cached_view (Redis 2h + Accept-Language) to HadisSyncView and public hadis endpoints
- Enable GZipMiddleware in Django settings to compress large API responses
1 month ago
Mohsen Taba
0a281fc2c5
corrections list api added
1 month ago
Mohsen Taba
920afd7175
fix(transmitters): update transmitters names with script and also update api responses with status in them
1 month ago
Mohsen Taba
2d80812916
add more details for argument objects
1 month ago
Mohsen Taba
b9cf002fe1
narrators sons and fathers added
1 month ago
Mohsen Taba
4d9c84be05
feat(hadis): add uncertain narrators support and prefetching in HadisSync API
1 month ago
Mohsen Taba
4e3fe9b5b4
feat(hadis): add uncertain multi-narrator support to transmitter chains
1 month ago
Mohsen Taba
9560f18c72
feat(hadis): add lightweight on-demand source details endpoint and documentation
1 month ago
Mohsen Taba
a14945c41e
references api updated + narrator layer id added
1 month ago
Mohsen Taba
415c10bea0
feat(hadis): ensure address, images, and links are present in sync and detail serializers
1 month ago
Mohsen Taba
dd12d10bf4
feat(hadis): support list/JSON address storage and serialization for original texts, explanations, and corrections
1 month ago
Mohsen Taba
d86f05ea4f
feat(hadis): expose address, images, and links in correction serializers
1 month ago
Mohsen Taba
f18a3b8c6c
feat(hadis): expose address and images in HadisInterpretationDetailSerializer
1 month ago
Mohsen Taba
bf7c079d39
feat(hadis): expose address and reference images in TransmitterOriginalTextSerializer
1 month ago
Mohsen Taba
3c692f128f
feat(hadis): support source image upload, newest-first category ordering, and sync layer description
1 month ago
Mohsen Taba
bf07701b24
feat: naraytor layer logic updated to connect to hadith directly
1 month ago
Mohsen Taba
d8670128ff
Optimize category admin API queries and include status description in hadis sync/list serializers
1 month ago
mortezaei
4be852ff41
refactor(api): replace build_absolute_uri with absolute_https_url
Replace direct calls to `request.build_absolute_uri` with a centralized
`absolute_https_url` utility across account and hadis modules. This
ensures consistent enforcement of HTTPS for all absolute media URLs
(avatars, thumbnails, and images) in serializers and views.rl
2 months ago
Mohsen Taba
76407934a4
excerpts serializers got shorter
3 months ago
Mohsen Taba
a2ea302d5d
refrence researchers and author fixed
3 months ago
Mohsen Taba
534dc40adc
sync narrators updated to latest changes
3 months ago
Mohsen Taba
1fa8bc04c2
narrator api enhanced. relations added and populated
3 months ago
Mohsen Taba
e4bcb9bd3b
relatives and details of narrators updated
3 months ago
Mohsen Taba
25053022b6
narrators arabic text shows and appears there
4 months ago
Mohsen Taba
5edc071a67
correction and interpretations links added
4 months ago
Mohsen Taba
89466a928c
enhanced hadith corrections and interpretations
4 months ago
Mohsen Taba
5aab31acc1
sync apis updated with new corrections , interpretation and original texts detail page
4 months ago
Mohsen Taba
c1bfde3aec
connect objects to referencess
update corrections , interpretations and original text models to connect to new logic of our references models
made a new api for detail pages of these references
4 months ago
Mohsen Taba
5832850a06
transmitters relations added to sync api and creatied new apis for narrators relations. optimized query sending
4 months ago
Mohsen Taba
19ac1436be
transmitter schollar connection to author profile, category slugs returns in hadith detail pages
4 months ago
Mohsen Taba
211fe137b4
transmitters arguments lists added
4 months ago
Mohsen Taba
22b1a5f5a5
fix sync hadis issue and upate documentations
4 months ago
Mohsen Taba
f790b3252e
data script enhancement and deta schema update
book creation is now only creates if a edition or folder mentioned, not blindly all the volumes !
script deletes the old books
some models updated with new values
5 months ago
Mohsen Taba
1a56bc8a40
dovodi data import
update models to be sync with dovodi data
built an script to run and store dovodi data in three phases
5 months ago
Mohsen Taba
5ddf941299
hadith pinned collection added
update model to add pin_top field
new endpoint for pinned collection added ( serializer , view and url )
pin option added in the admin panel.
6 months ago
Mohsen Taba
ca695dcb01
feat: implement standard routing links for Hadis collection, tag, and status models with corresponding serializers
7 months ago
Mohsen Taba
9dd4860a82
feat: Implement Hadis data serializers for collections, detailed sync, lists, status, and tags.
7 months ago