[PR #453] [CLOSED] major refactoring of django views #2680

Closed
opened 2026-03-01 18:00:23 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/453
Author: @apkallum
Created: 8/20/2020
Status: Closed

Base: masterHead: master


📝 Commits (10+)

  • 7ae0001 new public view derived from django
  • 49279a2 no files count in public view
  • e67f11a search view inherits from modified public view
  • 94ff93f add icons to new public view
  • 93622fd ensure results have icons
  • 796c4b0 add public add view + toggle setting
  • b46dcb3 unify public archive view
  • 307a2f6 factor out a base.html template
  • 8d5f7d7 no more oldhome, cbvs uniform across views
  • 35c4520 remove reference to old home

📊 Changes

10 files changed (+511 additions, -99 deletions)

View changed files

📝 archivebox/config/__init__.py (+1 -0)
📝 archivebox/core/admin.py (+2 -28)
📝 archivebox/core/urls.py (+3 -3)
archivebox/core/utils.py (+36 -0)
📝 archivebox/core/views.py (+72 -24)
📝 archivebox/themes/admin/base.html (+0 -1)
📝 archivebox/themes/default/add_links.html (+8 -43)
archivebox/themes/default/base.html (+286 -0)
archivebox/themes/default/core/snapshot_list.html (+64 -0)
archivebox/themes/default/static/add.css (+39 -0)

📄 Description

Summary

New public index derived from Django db.

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Archived data layout on disk

Roadmap Goals

Going to 0.5 and deriving all indexes from Django db.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/453 **Author:** [@apkallum](https://github.com/apkallum) **Created:** 8/20/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`7ae0001`](https://github.com/ArchiveBox/ArchiveBox/commit/7ae00015628a3e4ac0c811010f6c4b54519cbb1b) new public view derived from django - [`49279a2`](https://github.com/ArchiveBox/ArchiveBox/commit/49279a2b844d06b819e9856541cd6633210ea3df) no files count in public view - [`e67f11a`](https://github.com/ArchiveBox/ArchiveBox/commit/e67f11a2296f2505dda50ada6afa26ebc2031db0) search view inherits from modified public view - [`94ff93f`](https://github.com/ArchiveBox/ArchiveBox/commit/94ff93f8d26e922e3f4c507bc702ca190e6b2a88) add icons to new public view - [`93622fd`](https://github.com/ArchiveBox/ArchiveBox/commit/93622fdc0b230c09bd0feab1f3dbc93674c0d077) ensure results have icons - [`796c4b0`](https://github.com/ArchiveBox/ArchiveBox/commit/796c4b0cc455422fd781c88ddb959992c7826e7a) add public add view + toggle setting - [`b46dcb3`](https://github.com/ArchiveBox/ArchiveBox/commit/b46dcb318161c8f043383902c1f827a87b9c3b97) unify public archive view - [`307a2f6`](https://github.com/ArchiveBox/ArchiveBox/commit/307a2f6092f1659c0ed5ca641ad921fa1fbafb22) factor out a base.html template - [`8d5f7d7`](https://github.com/ArchiveBox/ArchiveBox/commit/8d5f7d7fcf0cfde6bdd7dfb30c0ceee8a2ce58f6) no more oldhome, cbvs uniform across views - [`35c4520`](https://github.com/ArchiveBox/ArchiveBox/commit/35c4520f91121988e3006c883bfa5238406afd97) remove reference to old home ### 📊 Changes **10 files changed** (+511 additions, -99 deletions) <details> <summary>View changed files</summary> 📝 `archivebox/config/__init__.py` (+1 -0) 📝 `archivebox/core/admin.py` (+2 -28) 📝 `archivebox/core/urls.py` (+3 -3) ➕ `archivebox/core/utils.py` (+36 -0) 📝 `archivebox/core/views.py` (+72 -24) 📝 `archivebox/themes/admin/base.html` (+0 -1) 📝 `archivebox/themes/default/add_links.html` (+8 -43) ➕ `archivebox/themes/default/base.html` (+286 -0) ➕ `archivebox/themes/default/core/snapshot_list.html` (+64 -0) ➕ `archivebox/themes/default/static/add.css` (+39 -0) </details> ### 📄 Description # Summary New public index derived from Django db. # Changes these areas - [ ] Bugfixes - [x] Feature behavior - [ ] Command line interface - [ ] Configuration options - [ ] Internal architecture - [ ] Archived data layout on disk # Roadmap Goals Going to 0.5 and deriving all indexes from Django db. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 18:00:23 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#2680
No description provided.