#9: Integration with meetbot
---------------------+-------------------------
Reporter: pingou | Owner:
Type: defect | Status: new
Priority: major | Milestone: Future
Component: fedocal | Version: development
Keywords: |
---------------------+-------------------------
It would be cool to have some kind of integration with meetbot
--
Ticket URL: <https://fedorahosted.org/fedocal/ticket/9>
fedocal <https://fedorahosted.org/fedocal>
A web-based calendar application for Fedora
#8: Finish the unit-tests for the Flask application
-------------------------+-------------------------
Reporter: pingou | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.1.0
Component: fedocal | Version: development
Keywords: |
-------------------------+-------------------------
The unit-tests of the Flask application are not covering enough, we need
to improve this.
--
Ticket URL: <https://fedorahosted.org/fedocal/ticket/8>
fedocal <https://fedorahosted.org/fedocal>
A web-based calendar application for Fedora
#10: Allow full day meeting
-------------------------+-------------------------
Reporter: pingou | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.1.0
Component: fedocal | Version: development
Keywords: |
-------------------------+-------------------------
The code is already present, we just need to implement this in the UI.
--
Ticket URL: <https://fedorahosted.org/fedocal/ticket/10>
fedocal <https://fedorahosted.org/fedocal>
A web-based calendar application for Fedora
#7: Add a setup.py
-------------------------+-------------------------
Reporter: pingou | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: 0.1.0
Component: fedocal | Version: development
Keywords: |
-------------------------+-------------------------
We don't provide any kind of install script at the moment, having a
setup.py would be nice
--
Ticket URL: <https://fedorahosted.org/fedocal/ticket/7>
fedocal <https://fedorahosted.org/fedocal>
A web-based calendar application for Fedora
Repository : http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
>---------------------------------------------------------------
commit 901503c79169551ba0d53ca14358229e9c5010e5
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Wed Dec 19 18:25:47 2012 +0100
Fix tab/space mix detected by a pep8 run on model.py
>---------------------------------------------------------------
fedocal/fedocallib/model.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fedocal/fedocallib/model.py b/fedocal/fedocallib/model.py
index 87510b0..ddaf773 100644
--- a/fedocal/fedocallib/model.py
+++ b/fedocal/fedocallib/model.py
@@ -51,7 +51,7 @@ def create_tables(db_url, alembic_ini=None, debug=False):
to, the user and password and the database name.
ie: <engine>://<user>:<password>@<host>/<dbname>
:kwarg alembic_ini, path to the alembic ini file. This is necessary to be
- able to use alembic correctly, but not for the unit-tests.
+ able to use alembic correctly, but not for the unit-tests.
:kwarg debug, a boolean specifying wether we should have the verbose
output of sqlalchemy or not.
:return a session that can be used to query the database.
Repository : http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
>---------------------------------------------------------------
commit f53b20637e8417912a1804f3f4febe9c81f468c2
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Mon Dec 17 21:57:31 2012 +0100
Make the alembic_ini argument optional as we don't use it in the unit-tests
>---------------------------------------------------------------
fedocal/fedocallib/model.py | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/fedocal/fedocallib/model.py b/fedocal/fedocallib/model.py
index 2c6283c..87510b0 100644
--- a/fedocal/fedocallib/model.py
+++ b/fedocal/fedocallib/model.py
@@ -42,7 +42,7 @@ from sqlalchemy.sql import and_
BASE = declarative_base()
-def create_tables(db_url, alembic_ini, debug=False):
+def create_tables(db_url, alembic_ini=None, debug=False):
""" Create the tables in the database using the information from the
url obtained.
@@ -50,7 +50,8 @@ def create_tables(db_url, alembic_ini, debug=False):
information with regards to the database engine, the host to connect
to, the user and password and the database name.
ie: <engine>://<user>:<password>@<host>/<dbname>
- :arg alembic_ini, path to the alembic ini file.
+ :kwarg alembic_ini, path to the alembic ini file. This is necessary to be
+ able to use alembic correctly, but not for the unit-tests.
:kwarg debug, a boolean specifying wether we should have the verbose
output of sqlalchemy or not.
:return a session that can be used to query the database.
@@ -58,12 +59,13 @@ def create_tables(db_url, alembic_ini, debug=False):
engine = create_engine(db_url, echo=debug)
BASE.metadata.create_all(engine)
- # then, load the Alembic configuration and generate the
- # version table, "stamping" it with the most recent rev:
- from alembic.config import Config
- from alembic import command
- alembic_cfg = Config(alembic_ini)
- command.stamp(alembic_cfg, "head")
+ if alembic_ini is not None:
+ # then, load the Alembic configuration and generate the
+ # version table, "stamping" it with the most recent rev:
+ from alembic.config import Config
+ from alembic import command
+ alembic_cfg = Config(alembic_ini)
+ command.stamp(alembic_cfg, "head")
sessionmak = sessionmaker(bind=engine)
return sessionmak()