content creation auto acceptance: |
|
---|---|
adding a role to content: |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'contents': [{'contents': [{'contents': [{'id': '[email protected]', | |
'title': 'Document One'}], | |
'id': 'subcol', | |
'title': u'Chapter One'}, | |
{'contents': [{'id': '[email protected]', | |
'title': 'Document One (revised)'}], | |
'id': 'subcol', | |
'title': u'Chapter Two'}], | |
'id': 'subcol', | |
'title': u'Part One'}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:epub="http://www.idpf.org/2007/ops" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:lrmi="http://lrmi.net/the-specification" | |
> | |
<head itemscope="itemscope" | |
itemtype="http://schema.org/Book" | |
> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[coyote] | |
# These queue to runner mappings (<queue_name>:<runner_name>) propulate the | |
# queues list to run through during runtime. | |
queue-mappings = | |
cnx_any_latex_completezip:completezip | |
[amqp] | |
host = localhost | |
port = 5672 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table roles( | |
id integer unique sequence, | |
document_id uuid, | |
role_type role_types, -- e.g. author, illustrator | |
user_id text, -- username as it appears in accounts | |
profile json, -- a copy of the user's profile json | |
has_accepted boolean, | |
requester text, | |
assignment_data timestamp with timezone default current_timestamp, | |
primary key (document_id, role_type, user_id), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pyramid.config import ( | |
global_registries, | |
ApplicationCreated, | |
Configurator as BaseConfigurator, | |
) | |
from pyramid.threadlocal import ( | |
defaults as threadlocal_defaults, | |
manager as actual_threadlocal_manager, | |
ThreadLocalManager, | |
) |
/api/user.json
before editing title
:
{
id: 40620,
username: "MichaelMulich",
first_name: "Michael",
last_name: "Mulich",
full_name: "Michael Mulich"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
"""\ | |
Symbolically links a virtualenv's site-packages to | |
the globaly Python's user site-packages directory. | |
This should be run with the global Python. | |
""" | |
import os | |
import site |
This phase will involve setting up the foundation for transforms.
-
Each dev should set up an instance of flower, which will help visualize/debug task processing.
-
Initialize Sphinx documentation for cnx-epub & cnx-transforms. Document the purpose and basic functionality of the two packages. Later you can document the parts you are working on and touching. Everything else can progressively be added over time.