-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/testing' into stable
* origin/testing: (35 commits) Bump version. Make waitress listen on all interfaces in development.ini. Resolves #371. Use unicode instead of strings in test (prevents SQLAlchemy warnings). Make scaffold use the name of project as the name of application. Closes #457. Make kotti_tinymce a requirement in the scaffold. Fixes #447. Add myself. Reorder children on append. Re-enable failing assert. Fixed with ``reorder_on_append``. Revert "Remove assert that fails for no reason on Postgres." Upgrade Babel to 2.1.1. Upgrade Babel to 2.1.1. Add ``kotti.modification_date_excludes`` configuration option. Remove assert that fails for no reason on Postgres. Add changenotes. Add ``kotti.modification_date_excludes`` configuration option. Prevent some SQLAlchemy warnings that have been present since SQLAlchemy 1.0. Order conf_defaults and conf_dotted alphabetically. Upgrade requirements to their latest respective version. Added '--statistics' option to invocation of `msgfmt` to bring attention to possible fuzzy translations; see wichert/lingua#59 Additionally now we print file being currently compiled so that we know which statistic is for which language. Added '--no-wrap' option to invocation of `msgmerge` to avoid wrapping original msgids. Wrapping needlessly "mangles" original msgids. Please note that both options were lost during migration to lingua 3.6.1 in commit 285bad5 Prevent some SQLAlchemy warnings that have been present since SQLAlchemy 1.0. ...
- Loading branch information
Showing
26 changed files
with
1,311 additions
and
153 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ pipeline = | |
|
||
[server:main] | ||
use = egg:waitress#main | ||
host = 127.0.0.1 | ||
port = 5000 | ||
|
||
[alembic] | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
32 changes: 32 additions & 0 deletions
32
kotti/alembic/versions/4a3de0d0804a_add_foreignkey_indices.py
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"""Add ForeignKey indices | ||
Revision ID: 4a3de0d0804a | ||
Revises: 37a05f6246af | ||
Create Date: 2015-08-31 12:37:26.493958 | ||
""" | ||
|
||
from alembic import op | ||
|
||
# revision identifiers, used by Alembic. | ||
revision = '4a3de0d0804a' | ||
down_revision = '37a05f6246af' | ||
|
||
|
||
def upgrade(): | ||
op.create_index( | ||
'ix_nodes_parent_id', 'nodes', ['parent_id', ]) | ||
op.create_index( | ||
'ix_local_groups_node_id', 'local_groups', ['node_id', ]) | ||
op.create_index( | ||
'ix_local_groups_principal_name', 'local_groups', ['principal_name', ]) | ||
op.create_index( | ||
'ix_tags_to_contents_tag_id', 'tags_to_contents', ['tag_id', ]) | ||
op.create_index( | ||
'ix_tags_to_contents_content_id', 'tags_to_contents', ['content_id', ]) | ||
|
||
|
||
def downgrade(): | ||
op.drop_index('ix_nodes_parent_id', 'nodes') | ||
op.drop_index('ix_local_groups_node_id', 'local_groups') | ||
op.drop_index('ix_local_groups_principal_name', 'local_groups') |
This file contains 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
Binary file not shown.
Oops, something went wrong.