dracidoupe / graveyard Goto Github PK
View Code? Open in Web Editor NEWOpen Source reimplementation of https://www.dracidoupe.cz/
Home Page: https://nove.dracidoupe.cz/
License: MIT License
Open Source reimplementation of https://www.dracidoupe.cz/
Home Page: https://nove.dracidoupe.cz/
License: MIT License
NoReverseMatch: Reverse for 'common-article-detail' with keyword arguments '{'creative_page_slug': 'clanky', 'article_id': 2677, 'article_slug': ''}' not found. 1 pattern(s) tried: ['rubriky\/(?P<creative_page_slug>[^/]+)\/(?P<article_id>[0-9]+)\-(?P<article_slug>[^/]+)\/$']
Once views are stable, use defer('text')
everywhere.
By breaking down the model field, more apps with unidirectional dependency graph shall be considered:
returnto
argument to http://nove.dracidoupe.cz/nastaveni/zmena-skinu/?skin=light
Although reliably, I'd probably still add JS counter for the amount of people who printed using the button :)
Article name should be h1
, figure out good element / class for sections.
Allow editors to be set for CreativePages and drive the permissions from there. Fix the problem with migrations.
(or should it be directly derived by permissions on CreativePage?)
Currently, they are randomly linked and not editable by editors, that's relatively easy to fix and helps migration.
Example articles and overall content should be provided for other devs.
Turn off styles, verify responsiveness and accessibility guidelines.
Properly paginate lists.
Because of modern technology, static media can now be deployed on a different domain and moved to CDN.
Move them out of model and reuse them in views instead of relying on "a" and "n" as magical constants.
Celery now has direct Django support: http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
Level system computations etc. should be handled using that (with Admin interface as a bonus). If Graveyard works properly™, that should actually be done while the old version is still running.
As a follow-up for #3 , provide a way for user to upload their own media (to a certain size limit) and link to them from within articles).
What is the best (and future-proof way) to query a database in a way where misencoded fields are managed transparently?
See http://ddcz.readthedocs.io/en/latest/migration.html#database-encoding and https://github.com/dracidoupe/graveyard/blob/master/ddcz/models/magic.py for context.
Seems like newer schema migration framework or some other component is incompatible with mysql 5.5, which is unfortunately used on old production: https://circleci.com/gh/dracidoupe/graveyard/113
This means especially:
This needs to work around the Django vulnerability in >2.0<2.2.x version.
OK, number of integrity problems are coming up and all the 500s/logging.fatals need to be reported to developer.
Figure out how to do that. Sentry is a good contestant, but try to be GDPR-conscious and try to use least amount of 3rd party infrastructure possible.
Send a warning / error on UserProfile.slug being empty
Unify them:
What needs to be configurable?
CreativePage
model attribute directlyConsiderations:
Rating stars have the g'old feeling...that doesn't scale to new monitors. Also, GIFs.
Redo those as scalable SVGs.
Hi there,
You are receiving this email because you are an active member of one or more projects building on CircleCI that do not have pipelines enabled. Below are the settings URLs for these projects:
[https://circleci.com/gh/dracidoupe/graveyard/edit#advanced-settings]
We will be automatically turning on pipelines for these projects starting March 9th, 2020.
If you are an admin for any of these projects, please visit Project Settings > Advanced Settings (or use the URLs above) and enable the “pipelines” setting for the project. A pipeline contains all of the workflows (and the jobs inside those workflows) that CircleCI runs after a trigger on your project. A pipeline can be triggered by a pull request, a commit, or even an API call.
Enabling pipelines will offer the following improvements to your CircleCI experience:
Access to our new user interface
Auto-cancel redundant builds on non-default branches
Ability to reuse config and share config using orbs
New API endpoints (v2 API)
Our goal is to make this transition seamless, but we encourage you to enable pipelines manually at your earliest convenience to mitigate any unforeseen errors.
If you run into any issues, check out this Discuss post for more resources. You can also register for this webinar on March 5th where a member of our team will walk you through enabling pipelines and the advantages of pipelines.
Thank you!
The team at CircleCI
G'old article filters as the old DDCZ had it.
(originally, there are creations with sources (zdroje) without authors)
In the current state, some Creations have associated media (usually images). In the current implementation, those are uploaded separately into a directory and referred to from Creation text via HTML tag.
No association is stored; than only happens in cases where the media is the article (i.e. Gallery).
Find a way to look those up and keep track of the relation in order to be migrate the media to other store reliably.
Actually two issues:
See how Django does it and look for official documentation.
Housekeeping:
get_creation_canonical_url
in list templates as wellOld routes must resolve to new once.
Hence, one big fat index.php
dispatcher is needed to route to new URLs.
Given the amount of handwaving, do a consistency check command that would check underlying assumptions.
Examples:
[ ] Items for downloady are where it's assumed
predmety.precteno
attribute/db column--
Design for Dobrodruzstvi (Quests) and Downloady (Downloads):
1.0 is getting sunset: https://circleci.com/sunset1-0/#migration-steps
This can be done without db migration since db column can be overruled. It will make codebase more consistent and readable.
db_column
AlterColumn migrationsyes | rename migrations
CreativePageSection
:class CreativePageSection(models.Model):
""" Section within a Creative Page """
name = models.CharField(max_length=30)
slug = models.SlugField(max_length=30)
creative_page = models.ForeignKey(CreativePage)
pages.yaml
/ new sections.yaml
fixtureOnly a subset is supported now. Support the full range of HTML weirdness.
Current requirements:
Follow-up todo:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.