Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-09-26 | Slugify URLs to news articles | Magnus Hagander | |
2020-09-10 | Re-work moderation of submitted items | Magnus Hagander | |
This includes a number of new features: * Move some moderation functionality into shared places, so we don't keep re-inventing the wheel. * Implement three-state moderation, where the submitter can edit their item and then explicitly say "i'm done, please moderate this now". This is currently only implemented for News, but done in a reusable way. * Move moderation workflow to it's own set of URLs instead of overloading it on the general admin interface. Admin interface remains for editing things, but these are now separated out into separate things. * Do proper stylesheet clearing for moderation of markdown fields, using a dynamic sandboxed iframe, so it's not ruined by the /admin/ css. * Move moderation email notification into dedicated moderation code, thereby simplifying the admin subclassing we did which was in some places quite fragile. * Reset date of news postings to the date of their approval, when approved. This avoids some annoying ordering issues. | |||
2019-01-26 | Update syntax for relative imports | Magnus Hagander | |
2019-01-17 | Fix whitespace and indentation, per pep8 | Magnus Hagander | |
2019-01-17 | Tabs, meet your new overlords: spaces | Magnus Hagander | |
In a quest to reach pep8, use spaces to indent rather than tabs. | |||
2014-01-01 | Clean up imports | Magnus Hagander | |
Remove unused imports and some other completely unused code. | |||
2011-07-12 | Only index news items 4 years or younger | Magnus Hagander | |
2011-06-01 | Add comments about why we're not indexing some archive pages | Magnus Hagander | |
2010-09-29 | Fix URLs as generated, and don't index pointless pages | Magnus Hagander | |
2010-09-28 | Add support for generating sitemap. | Magnus Hagander | |
Each module now contains a struct.py file that will return all the URLs that it can generate (yes, this is a small break of the abstraction of url.py, but we've broken that elsewhere as well), and also which search-engine-weight (0.1-1.0) that this URL should be given. |