Browse Source

rename pboard module to pod

Damien Accorsi 10 years ago
parent
commit
d551ff6f53
54 changed files with 374 additions and 379 deletions
  1. 4 4
      pboard/MANIFEST.in
  2. 3 3
      pboard/README.txt
  3. 1 1
      pboard/app.wsgi
  4. 7 12
      pboard/development.ini.base
  5. 1 1
      pboard/migration/env.py
  6. 1 1
      pboard/pboard/__init__.py
  7. 7 7
      pboard/pboard/config/app_cfg.py
  8. 6 6
      pboard/pboard/config/deployment.ini_tmpl
  9. 2 2
      pboard/pboard/config/environment.py
  10. 7 7
      pboard/pboard/config/middleware.py
  11. 1 1
      pboard/pboard/controllers/__init__.py
  12. 3 3
      pboard/pboard/controllers/admingroup.py
  13. 3 3
      pboard/pboard/controllers/adminuser.py
  14. 9 9
      pboard/pboard/controllers/api.py
  15. 4 4
      pboard/pboard/controllers/apimenu.py
  16. 5 5
      pboard/pboard/controllers/apipublic.py
  17. 3 3
      pboard/pboard/controllers/controller.template
  18. 13 13
      pboard/pboard/controllers/debug.py
  19. 1 1
      pboard/pboard/controllers/error.py
  20. 21 21
      pboard/pboard/controllers/root.py
  21. 3 3
      pboard/pboard/controllers/secure.py
  22. 2 2
      pboard/pboard/controllers/template.py
  23. BIN
      pboard/pboard/i18n/fr_FR/LC_MESSAGES/pboard.mo
  24. 198 198
      pboard/pboard/i18n/fr_FR/LC_MESSAGES/pboard.po
  25. 2 2
      pboard/pboard/lib/auth.py
  26. 3 3
      pboard/pboard/lib/dbapi.py
  27. 1 1
      pboard/pboard/lib/helpers.py
  28. 2 2
      pboard/pboard/model/__init__.py
  29. 2 2
      pboard/pboard/model/auth.py
  30. 3 3
      pboard/pboard/model/data.py
  31. 1 1
      pboard/pboard/model/model.template
  32. 1 1
      pboard/pboard/model/serializers.py
  33. 1 1
      pboard/pboard/public/css/external/font-awesome-4.1.0/css/font-awesome.min.css
  34. 1 1
      pboard/pboard/public/javascript/external/google-code-prettify/lang-matlab.js
  35. 1 1
      pboard/pboard/templates/about.mak
  36. 1 1
      pboard/pboard/templates/create_account.mak
  37. 1 1
      pboard/pboard/templates/dashboard.mak
  38. 1 1
      pboard/pboard/templates/document-widgets-tabs.mak
  39. 2 2
      pboard/pboard/templates/document-widgets.mak
  40. 3 3
      pboard/pboard/templates/document.mak
  41. 1 1
      pboard/pboard/templates/index.mak
  42. 1 1
      pboard/pboard/templates/master.mak
  43. 1 1
      pboard/pboard/templates/search.mak
  44. 4 4
      pboard/pboard/tests/__init__.py
  45. 2 2
      pboard/pboard/tests/functional/test_authentication.py
  46. 1 1
      pboard/pboard/tests/functional/test_root.py
  47. 3 3
      pboard/pboard/tests/models/__init__.py
  48. 2 2
      pboard/pboard/tests/models/test_auth.py
  49. 3 3
      pboard/pboard/websetup/__init__.py
  50. 3 3
      pboard/pboard/websetup/bootstrap.py
  51. 3 3
      pboard/pboard/websetup/schema.py
  52. 15 15
      pboard/setup.cfg
  53. 3 3
      pboard/setup.py
  54. 1 1
      pboard/test.ini

+ 4 - 4
pboard/MANIFEST.in View File

@@ -1,4 +1,4 @@
1
-recursive-include pboard/public *
2
-include pboard/public/favicon.ico
3
-recursive-include pboard/i18n *
4
-recursive-include pboard/templates *
1
+recursive-include pod/public *
2
+include pod/public/favicon.ico
3
+recursive-include pod/i18n *
4
+recursive-include pod/templates *

+ 3 - 3
pboard/README.txt View File

@@ -1,12 +1,12 @@
1
-This file is for you to describe the pboard application. Typically
1
+This file is for you to describe the pod application. Typically
2 2
 you would include information such as the information below:
3 3
 
4 4
 Installation and Setup
5 5
 ======================
6 6
 
7
-Install ``pboard`` using the setup.py script::
7
+Install ``pod`` using the setup.py script::
8 8
 
9
-    $ cd pboard
9
+    $ cd pod
10 10
     $ python setup.py develop
11 11
 
12 12
 Create the project database for any model classes defined::

+ 1 - 1
pboard/app.wsgi View File

@@ -1,4 +1,4 @@
1
-APP_CONFIG = "/home/daccorsi/sources/protos/pboard/pboard/development.ini"
1
+APP_CONFIG = "/home/daccorsi/sources/protos/pboard/pod/development.ini"
2 2
 
3 3
 #Setup logging
4 4
 import logging

+ 7 - 12
pboard/development.ini.base View File

@@ -1,5 +1,5 @@
1 1
 #
2
-# pboard - TurboGears 2 development environment configuration
2
+# pod - TurboGears 2 development environment configuration
3 3
 #
4 4
 # The %(here)s variable will be replaced with the parent directory of this file
5 5
 #
@@ -23,11 +23,11 @@ port = 8080
23 23
 cookie_secret = 3283411b-1904-4554-b0e1-883863b53080
24 24
 
25 25
 [app:main]
26
-use = egg:pboard
26
+use = egg:pod
27 27
 full_stack = true
28 28
 #lang = fr_FR
29 29
 cache_dir = %(here)s/data
30
-beaker.session.key = pboard
30
+beaker.session.key = pod
31 31
 beaker.session.secret = 3283411b-1904-4554-b0e1-883863b53080
32 32
 
33 33
 #By default session is store in cookies to avoid the overhead
@@ -54,13 +54,8 @@ beaker.session.validate_key = 3283411b-1904-4554-b0e1-883863b53080
54 54
 # invalidate the URI when specifying a SQLite db via path name
55 55
 # sqlalchemy.url=postgresql://username:password@hostname:port/databasename
56 56
 # sqlalchemy.url=mysql://username:password@hostname:port/databasename
57
-
58
-
59
-# If you have sqlite, here's a simple default to get you started
60
-# in development
61
-
62
-#sqlalchemy.url = postgresql://pboard:pboard@127.0.0.1:5432/pboarddb
63 57
 sqlalchemy.url = postgresql://pod_user:pod_user_password@127.0.0.1:5432/pod
58
+
64 59
 #echo shouldn't be used together with the logging module.
65 60
 sqlalchemy.echo = false
66 61
 sqlalchemy.echo_pool = false
@@ -100,7 +95,7 @@ toscawidgets.framework.resource_variant=debug
100 95
 #js_tracker_path = analytics.js
101 96
 
102 97
 [loggers]
103
-keys = root, pboard, sqlalchemy, auth
98
+keys = root, pod, sqlalchemy, auth
104 99
 
105 100
 [handlers]
106 101
 keys = console
@@ -113,10 +108,10 @@ keys = generic
113 108
 level = INFO
114 109
 handlers = console
115 110
 
116
-[logger_pboard]
111
+[logger_pod]
117 112
 level = DEBUG
118 113
 handlers =
119
-qualname = pboard
114
+qualname = pod
120 115
 
121 116
 [logger_sqlalchemy]
122 117
 level = INFO

+ 1 - 1
pboard/migration/env.py View File

@@ -15,7 +15,7 @@ config = context.config
15 15
 # for 'autogenerate' support
16 16
 # from myapp import mymodel
17 17
 # target_metadata = mymodel.Base.metadata
18
-from pboard import model
18
+from pod import model
19 19
 target_metadata = model.metadata
20 20
 
21 21
 # other values from the config, defined by the needs of env.py,

+ 1 - 1
pboard/pboard/__init__.py View File

@@ -1,2 +1,2 @@
1 1
 # -*- coding: utf-8 -*-
2
-"""The pboard package"""
2
+"""The pod package"""

+ 7 - 7
pboard/pboard/config/app_cfg.py View File

@@ -1,6 +1,6 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 """
3
-Global configuration file for TG2-specific settings in pboard.
3
+Global configuration file for TG2-specific settings in pod.
4 4
 
5 5
 This file complements development/deployment.ini.
6 6
 
@@ -15,16 +15,16 @@ convert them into boolean, for example, you should use the
15 15
 
16 16
 from tg.configuration import AppConfig
17 17
 
18
-import pboard
19
-from pboard import model
20
-from pboard.lib import app_globals, helpers 
18
+import pod
19
+from pod import model
20
+from pod.lib import app_globals, helpers 
21 21
 
22 22
 base_config = AppConfig()
23 23
 base_config.renderers = []
24 24
 base_config.use_toscawidgets = False
25 25
 base_config.use_toscawidgets2 = True
26 26
 
27
-base_config.package = pboard
27
+base_config.package = pod
28 28
 
29 29
 #Enable json in expose
30 30
 base_config.renderers.append('json')
@@ -37,8 +37,8 @@ base_config.default_renderer = 'mako'
37 37
 base_config.renderers.append('mako')
38 38
 #Configure the base SQLALchemy Setup
39 39
 base_config.use_sqlalchemy = True
40
-base_config.model = pboard.model
41
-base_config.DBSession = pboard.model.DBSession
40
+base_config.model = pod.model
41
+base_config.DBSession = pod.model.DBSession
42 42
 # Configure the authentication backend
43 43
 
44 44
 # YOU MUST CHANGE THIS VALUE IN PRODUCTION TO SECURE YOUR APP 

+ 6 - 6
pboard/pboard/config/deployment.ini_tmpl View File

@@ -1,5 +1,5 @@
1 1
 #
2
-# pboard - TurboGears 2 production environment configuration
2
+# pod - TurboGears 2 production environment configuration
3 3
 #
4 4
 # The %(here)s variable will be replaced with the parent directory of this file
5 5
 #
@@ -21,10 +21,10 @@ port = 8080
21 21
 cookie_secret = ${app_instance_secret}
22 22
 
23 23
 [app:main]
24
-use = egg:pboard
24
+use = egg:pod
25 25
 full_stack = true
26 26
 cache_dir = %(here)s/data
27
-beaker.session.key = pboard
27
+beaker.session.key = pod
28 28
 beaker.session.secret = ${app_instance_secret}
29 29
 app_instance_uuid = ${app_instance_uuid}
30 30
 
@@ -55,7 +55,7 @@ templating.genshi.method = xhtml
55 55
 # http://docs.python.org/lib/logging-config-fileformat.html
56 56
 
57 57
 [loggers]
58
-keys = root, pboard, sqlalchemy, auth
58
+keys = root, pod, sqlalchemy, auth
59 59
 
60 60
 [handlers]
61 61
 keys = console
@@ -68,10 +68,10 @@ keys = generic
68 68
 level = INFO
69 69
 handlers = console
70 70
 
71
-[logger_pboard]
71
+[logger_pod]
72 72
 level = INFO
73 73
 handlers =
74
-qualname = pboard
74
+qualname = pod
75 75
 
76 76
 [logger_sqlalchemy]
77 77
 level = WARN

+ 2 - 2
pboard/pboard/config/environment.py View File

@@ -1,7 +1,7 @@
1 1
 # -*- coding: utf-8 -*-
2
-"""WSGI environment setup for pboard."""
2
+"""WSGI environment setup for pod."""
3 3
 
4
-from pboard.config.app_cfg import base_config
4
+from pod.config.app_cfg import base_config
5 5
 
6 6
 __all__ = ['load_environment']
7 7
 

+ 7 - 7
pboard/pboard/config/middleware.py View File

@@ -1,8 +1,8 @@
1 1
 # -*- coding: utf-8 -*-
2
-"""WSGI middleware initialization for the pboard application."""
2
+"""WSGI middleware initialization for the pod application."""
3 3
 
4
-from pboard.config.app_cfg import base_config
5
-from pboard.config.environment import load_environment
4
+from pod.config.app_cfg import base_config
5
+from pod.config.environment import load_environment
6 6
 
7 7
 
8 8
 __all__ = ['make_app']
@@ -14,18 +14,18 @@ make_base_app = base_config.setup_tg_wsgi_app(load_environment)
14 14
 
15 15
 def make_app(global_conf, full_stack=True, **app_conf):
16 16
     """
17
-    Set pboard up with the settings found in the PasteDeploy configuration
17
+    Set pod up with the settings found in the PasteDeploy configuration
18 18
     file used.
19 19
     
20
-    :param global_conf: The global settings for pboard (those
20
+    :param global_conf: The global settings for pod (those
21 21
         defined under the ``[DEFAULT]`` section).
22 22
     :type global_conf: dict
23 23
     :param full_stack: Should the whole TG2 stack be set up?
24 24
     :type full_stack: str or bool
25
-    :return: The pboard application with all the relevant middleware
25
+    :return: The pod application with all the relevant middleware
26 26
         loaded.
27 27
     
28
-    This is the PasteDeploy factory for the pboard application.
28
+    This is the PasteDeploy factory for the pod application.
29 29
     
30 30
     ``app_conf`` contains all the application-specific settings (those defined
31 31
     under ``[app:main]``.

+ 1 - 1
pboard/pboard/controllers/__init__.py View File

@@ -1,2 +1,2 @@
1 1
 # -*- coding: utf-8 -*-
2
-"""Controllers for the pboard application."""
2
+"""Controllers for the pod application."""

+ 3 - 3
pboard/pboard/controllers/admingroup.py View File

@@ -1,12 +1,12 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 
3
-from pboard import model  as pm
3
+from pod import model  as pm
4 4
 
5 5
 from tgext.crud import CrudRestController
6 6
 from sprox.tablebase import TableBase
7 7
 from sprox.formbase import EditableForm, AddRecordForm
8 8
 from sprox.fillerbase import TableFiller, EditFormFiller
9
-from pboard.model import auth as pma
9
+from pod.model import auth as pma
10 10
 from tw2 import forms as tw2f
11 11
 import tg
12 12
 
@@ -15,7 +15,7 @@ from sprox._compat import unicode_text
15 15
 from formencode import Schema
16 16
 from formencode.validators import FieldsMatch
17 17
 
18
-from pboard.lib import dbapi as pld
18
+from pod.lib import dbapi as pld
19 19
 
20 20
 class AdminGroupController(CrudRestController):
21 21
     model = pma.Group

+ 3 - 3
pboard/pboard/controllers/adminuser.py View File

@@ -1,12 +1,12 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 
3
-from pboard import model  as pm
3
+from pod import model  as pm
4 4
 
5 5
 from tgext.crud import CrudRestController
6 6
 from sprox.tablebase import TableBase
7 7
 from sprox.formbase import EditableForm, AddRecordForm
8 8
 from sprox.fillerbase import TableFiller, EditFormFiller
9
-from pboard.model import auth as pma
9
+from pod.model import auth as pma
10 10
 from tw2 import forms as tw2f
11 11
 import tg
12 12
 
@@ -15,7 +15,7 @@ from sprox._compat import unicode_text
15 15
 from formencode import Schema
16 16
 from formencode.validators import FieldsMatch
17 17
 
18
-from pboard.lib import dbapi as pld
18
+from pod.lib import dbapi as pld
19 19
 
20 20
 class GroupField(PropertyMultipleSelectField):
21 21
     """ Shows a limited list of groups """

+ 9 - 9
pboard/pboard/controllers/api.py View File

@@ -20,15 +20,15 @@ from tg import predicates as tgp
20 20
 
21 21
 from tg.i18n import ugettext as _, lazy_ugettext as l_
22 22
 
23
-from pboard.lib.base import BaseController
24
-from pboard.lib   import dbapi as pld
25
-from pboard.model import data as pmd
26
-from pboard.model import auth as pma
27
-from pboard.model import serializers as pms
28
-from pboard import model as pm
29
-from pboard.lib.auth import can_read, can_write
30
-
31
-from pboard.controllers import apimenu as pcam
23
+from pod.lib.base import BaseController
24
+from pod.lib   import dbapi as pld
25
+from pod.model import data as pmd
26
+from pod.model import auth as pma
27
+from pod.model import serializers as pms
28
+from pod import model as pm
29
+from pod.lib.auth import can_read, can_write
30
+
31
+from pod.controllers import apimenu as pcam
32 32
 
33 33
 
34 34
 FIXME_ERROR_CODE=-1

+ 4 - 4
pboard/pboard/controllers/apimenu.py View File

@@ -2,10 +2,10 @@
2 2
 
3 3
 import tg
4 4
 
5
-from pboard.lib import base as plb
6
-from pboard.lib import dbapi as pld
7
-from pboard.model import data as pmd
8
-from pboard.model import serializers as pms
5
+from pod.lib import base as plb
6
+from pod.lib import dbapi as pld
7
+from pod.model import data as pmd
8
+from pod.model import serializers as pms
9 9
 
10 10
 class PODApiMenuController(plb.BaseController):
11 11
 

+ 5 - 5
pboard/pboard/controllers/apipublic.py View File

@@ -4,11 +4,11 @@ import tg
4 4
 import repoze.who.api
5 5
 
6 6
 from tg import _compat
7
-from pboard.lib import base as plb
8
-from pboard.lib import dbapi as pld
9
-from pboard import model as pm
10
-from pboard.model import data as pmd
11
-from pboard.model import serializers as pms
7
+from pod.lib import base as plb
8
+from pod.lib import dbapi as pld
9
+from pod import model as pm
10
+from pod.model import data as pmd
11
+from pod.model import serializers as pms
12 12
 
13 13
 from tg.i18n import ugettext as _
14 14
 

+ 3 - 3
pboard/pboard/controllers/controller.template View File

@@ -9,14 +9,14 @@ from tg import expose
9 9
 #from tg import predicates
10 10
 
11 11
 # project specific imports
12
-from pboard.lib.base import BaseController
13
-#from pboard.model import DBSession, metadata
12
+from pod.lib.base import BaseController
13
+#from pod.model import DBSession, metadata
14 14
 
15 15
 
16 16
 class SampleController(BaseController):
17 17
     #Uncomment this line if your controller requires an authenticated user
18 18
     #allow_only = predicates.not_anonymous()
19 19
     
20
-    @expose('pboard.templates.index')
20
+    @expose('pod.templates.index')
21 21
     def index(self):
22 22
         return dict(page='index')

+ 13 - 13
pboard/pboard/controllers/debug.py View File

@@ -4,19 +4,19 @@
4 4
 from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context
5 5
 from tg.i18n import ugettext as _, lazy_ugettext as l_
6 6
 from tg import predicates
7
-from pboard import model
8
-from pboard.controllers.secure import SecureController
9
-from pboard.model import DBSession, metadata
7
+from pod import model
8
+from pod.controllers.secure import SecureController
9
+from pod.model import DBSession, metadata
10 10
 
11
-from pboard.lib.base import BaseController
12
-from pboard.controllers.error import ErrorController
11
+from pod.lib.base import BaseController
12
+from pod.controllers.error import ErrorController
13 13
 
14
-import pboard.model as pbm
15
-import pboard.controllers as pbc
16
-from pboard.lib import dbapi as pld
17
-from pboard.controllers import api as pbca
14
+import pod.model as pbm
15
+import pod.controllers as pbc
16
+from pod.lib import dbapi as pld
17
+from pod.controllers import api as pbca
18 18
 
19
-import pboard.model.data as pbmd
19
+import pod.model.data as pbmd
20 20
 
21 21
 __all__ = ['DebugController']
22 22
 
@@ -26,19 +26,19 @@ class DebugController(BaseController):
26 26
   # allow_only = predicates.in_group('admin',
27 27
   #                            msg=l_('You\'re not allowed to access this page'))
28 28
 
29
-  @expose('pboard.templates.debug.iconset')
29
+  @expose('pod.templates.debug.iconset')
30 30
   def iconset(self, **kw):
31 31
     """This method showcases how you can use the same controller for a data page and a display page"""
32 32
     return dict()
33 33
 
34 34
 
35
-  @expose('pboard.templates.debug.environ')
35
+  @expose('pod.templates.debug.environ')
36 36
   def environ(self, **kw):
37 37
     """This method showcases TG's access to the wsgi environment."""
38 38
     return dict(environment=request.environ)
39 39
 
40 40
 
41
-  @expose('pboard.templates.debug.identity')
41
+  @expose('pod.templates.debug.identity')
42 42
   def identity(self, **kw):
43 43
     """This method showcases TG's access to the wsgi environment."""
44 44
     return dict(identity=request.identity)

+ 1 - 1
pboard/pboard/controllers/error.py View File

@@ -18,7 +18,7 @@ class ErrorController(object):
18 18
     
19 19
     """
20 20
 
21
-    @expose('pboard.templates.error')
21
+    @expose('pod.templates.error')
22 22
     def document(self, *args, **kwargs):
23 23
         """Render the error document"""
24 24
         resp = request.environ.get('pylons.original_response')

+ 21 - 21
pboard/pboard/controllers/root.py View File

@@ -1,26 +1,26 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 """Main Controller"""
3
-import pboard
3
+import pod
4 4
 
5 5
 import tg
6 6
 from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context
7 7
 from tg.i18n import ugettext as _, lazy_ugettext as l_
8 8
 from tg import predicates
9
-from pboard.lib.auth import can_read
9
+from pod.lib.auth import can_read
10 10
 
11
-from pboard.lib.base import BaseController
12
-from pboard.controllers.error import ErrorController
11
+from pod.lib.base import BaseController
12
+from pod.controllers.error import ErrorController
13 13
 
14
-from pboard.lib import dbapi as pld
15
-from pboard.controllers import api as pca
16
-from pboard.controllers import apipublic as pcap
17
-from pboard.controllers import debug as pbcd
18
-from pboard.controllers import adminuser as pbcu
19
-from pboard.controllers import admingroup as pbcg
14
+from pod.lib import dbapi as pld
15
+from pod.controllers import api as pca
16
+from pod.controllers import apipublic as pcap
17
+from pod.controllers import debug as pbcd
18
+from pod.controllers import adminuser as pbcu
19
+from pod.controllers import admingroup as pbcg
20 20
 
21
-from pboard import model as pm
21
+from pod import model as pm
22 22
 
23
-import pboard.model.data as pbmd
23
+import pod.model.data as pbmd
24 24
 
25 25
 __all__ = ['RootController']
26 26
 
@@ -32,7 +32,7 @@ class AdminController(BaseController):
32 32
 
33 33
 class RootController(BaseController):
34 34
     """
35
-    The root controller for the pboard application.
35
+    The root controller for the pod application.
36 36
 
37 37
     All the other controllers and WSGI applications should be mounted on this
38 38
     controller. For example::
@@ -54,21 +54,21 @@ class RootController(BaseController):
54 54
     public_api = pcap.PODPublicApiController()
55 55
 
56 56
     def _before(self, *args, **kw):
57
-        tmpl_context.project_name = "pboard"
57
+        tmpl_context.project_name = "pod"
58 58
 
59
-    @expose('pboard.templates.index')
59
+    @expose('pod.templates.index')
60 60
     def index(self):
61 61
         """Handle the front-page."""
62 62
         return dict()
63 63
 
64 64
 
65
-    @expose('pboard.templates.about')
65
+    @expose('pod.templates.about')
66 66
     def about(self):
67 67
         """Handle the about-page."""
68 68
         return dict()
69 69
 
70 70
 
71
-    @expose('pboard.templates.login')
71
+    @expose('pod.templates.login')
72 72
     def login(self, came_from=lurl('/')):
73 73
         """Start the user login."""
74 74
         login_counter = request.environ.get('repoze.who.logins', 0)
@@ -102,7 +102,7 @@ class RootController(BaseController):
102 102
         flash(_('We hope to see you soon!'))
103 103
         redirect(came_from)
104 104
         
105
-    @expose('pboard.templates.dashboard')
105
+    @expose('pod.templates.dashboard')
106 106
     @require(predicates.in_group('user', msg=l_('Please login to access this page')))
107 107
     def dashboard(self):
108 108
         loCurrentUser   = pld.PODStaticController.getCurrentUser()
@@ -114,7 +114,7 @@ class RootController(BaseController):
114 114
         return dict(last_modified_nodes=loLastModifiedNodes, whats_hot_nodes=loWhatsHotNodes, action_to_do_nodes = loActionToDoNodes)
115 115
 
116 116
 
117
-    @expose('pboard.templates.document')
117
+    @expose('pod.templates.document')
118 118
     #@require(predicates.in_group('user', msg=l_('Please login to access this page')))
119 119
     @require(can_read())
120 120
     def document(self, node_id=0, version=0, came_from=lurl('/'), highlight=''):
@@ -161,7 +161,7 @@ class RootController(BaseController):
161 161
             current_user_rights = current_user_rights
162 162
         )
163 163
 
164
-    @expose('pboard.templates.search')
164
+    @expose('pod.templates.search')
165 165
     @require(predicates.in_group('user', msg=l_('Please login to access this page')))
166 166
     def search(self, keywords=''):
167 167
         loCurrentUser   = pld.PODStaticController.getCurrentUser()
@@ -171,7 +171,7 @@ class RootController(BaseController):
171 171
 
172 172
         return dict(search_string=keywords, found_nodes=loFoundNodes)
173 173
 
174
-    @expose('pboard.templates.create_account')
174
+    @expose('pod.templates.create_account')
175 175
     def create_account(self):
176 176
         return dict()
177 177
 

+ 3 - 3
pboard/pboard/controllers/secure.py View File

@@ -4,7 +4,7 @@ from tg import expose, flash
4 4
 from tg.i18n import ugettext as _, lazy_ugettext as l_
5 5
 from tg.predicates import has_permission
6 6
 
7
-from pboard.lib.base import BaseController
7
+from pod.lib.base import BaseController
8 8
 
9 9
 __all__ = ['SecureController']
10 10
 
@@ -15,13 +15,13 @@ class SecureController(BaseController):
15 15
     allow_only = has_permission('manage',
16 16
                                 msg=l_('Only for people with the "manage" permission'))
17 17
     
18
-    @expose('pboard.templates.index')
18
+    @expose('pod.templates.index')
19 19
     def index(self):
20 20
         """Let the user know that's visiting a protected controller."""
21 21
         flash(_("Secure Controller here"))
22 22
         return dict(page='index')
23 23
     
24
-    @expose('pboard.templates.index')
24
+    @expose('pod.templates.index')
25 25
     def some_where(self):
26 26
         """Let the user know that this action is protected too."""
27 27
         return dict(page='some_where')

+ 2 - 2
pboard/pboard/controllers/template.py View File

@@ -1,7 +1,7 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 """Fallback controller."""
3 3
 
4
-from pboard.lib.base import BaseController
4
+from pod.lib.base import BaseController
5 5
 from tg import abort
6 6
 
7 7
 __all__ = ['TemplateController']
@@ -9,7 +9,7 @@ __all__ = ['TemplateController']
9 9
 
10 10
 class TemplateController(BaseController):
11 11
     """
12
-    The fallback controller for pboard.
12
+    The fallback controller for pod.
13 13
     
14 14
     By default, the final controller tried to fulfill the request
15 15
     when no other routes match. It may be used to display a template

BIN
pboard/pboard/i18n/fr_FR/LC_MESSAGES/pboard.mo View File


+ 198 - 198
pboard/pboard/i18n/fr_FR/LC_MESSAGES/pboard.po View File

@@ -1,11 +1,11 @@
1
-# French (France) translations for pboard.
1
+# French (France) translations for pod.
2 2
 # Copyright (C) 2014 ORGANIZATION
3
-# This file is distributed under the same license as the pboard project.
3
+# This file is distributed under the same license as the pod project.
4 4
 # FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
5 5
 #
6 6
 msgid ""
7 7
 msgstr ""
8
-"Project-Id-Version: pboard 0.1\n"
8
+"Project-Id-Version: pod 0.1\n"
9 9
 "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
10 10
 "POT-Creation-Date: 2014-06-16 00:55+0200\n"
11 11
 "PO-Revision-Date: 2014-06-16 00:55+0100\n"
@@ -18,91 +18,91 @@ msgstr ""
18 18
 "Generated-By: Babel 1.3\n"
19 19
 "X-Generator: Poedit 1.5.4\n"
20 20
 
21
-#: pboard/controllers/api.py:40
21
+#: pod/controllers/api.py:40
22 22
 msgid "You need to login in order to access this ressource"
23 23
 msgstr "Vous devez vous identifier pour accéder à cette page"
24 24
 
25
-#: pboard/controllers/api.py:185
25
+#: pod/controllers/api.py:185
26 26
 #, python-format
27 27
 msgid "Document #%s can't move upper."
28 28
 msgstr "Le document #%s ne peut pas être remonté"
29 29
 
30
-#: pboard/controllers/api.py:196
30
+#: pod/controllers/api.py:196
31 31
 #, python-format
32 32
 msgid "Document #%s can't move lower."
33 33
 msgstr "Le document #%s ne peut pas être descendu"
34 34
 
35
-#: pboard/controllers/api.py:259
35
+#: pod/controllers/api.py:259
36 36
 #, python-format
37 37
 msgid "Document #%s has been deleted"
38 38
 msgstr "Le document #%s a été supprimé"
39 39
 
40
-#: pboard/controllers/api.py:261
40
+#: pod/controllers/api.py:261
41 41
 #, python-format
42 42
 msgid "Document #%s can't be deleted because it is not empty."
43 43
 msgstr ""
44 44
 "Le document #%s ne peut pas être supprimé car il possède des sous documents"
45 45
 
46
-#: pboard/controllers/api.py:335
46
+#: pod/controllers/api.py:335
47 47
 msgid "You can't share a document that doesn't belong to you."
48 48
 msgstr "Vous ne pouvez pas partager un document qui ne vous appartient pas"
49 49
 
50
-#: pboard/controllers/apipublic.py:20
50
+#: pod/controllers/apipublic.py:20
51 51
 msgid "Account creation error: please fill all the fields"
52 52
 msgstr "Erreur à la création du compte : merci de remplir tous les champs"
53 53
 
54
-#: pboard/controllers/apipublic.py:23
54
+#: pod/controllers/apipublic.py:23
55 55
 msgid "Account creation error: passwords do not match"
56 56
 msgstr "Erreur à la création du compte : les mots de passe ne concordent pas"
57 57
 
58
-#: pboard/controllers/apipublic.py:28
58
+#: pod/controllers/apipublic.py:28
59 59
 #, python-format
60 60
 msgid "Account creation error: account already exist: %s"
61 61
 msgstr "Erreur à la création du compte : le compte %s existe déjà"
62 62
 
63
-#: pboard/controllers/apipublic.py:33
63
+#: pod/controllers/apipublic.py:33
64 64
 #, python-format
65 65
 msgid "Account successfully created: %s"
66 66
 msgstr "Compte créé avec succès : %s"
67 67
 
68
-#: pboard/controllers/root.py:76
68
+#: pod/controllers/root.py:76
69 69
 msgid "Wrong credentials"
70 70
 msgstr "Mauvais identifiant et/ou mot de passe"
71 71
 
72
-#: pboard/controllers/root.py:92
72
+#: pod/controllers/root.py:92
73 73
 #, python-format
74 74
 msgid "Welcome back, %s!"
75 75
 msgstr "Bienvenue %s!"
76 76
 
77
-#: pboard/controllers/root.py:102
77
+#: pod/controllers/root.py:102
78 78
 msgid "We hope to see you soon!"
79 79
 msgstr "Nous espérons vous revoir bientôt!"
80 80
 
81
-#: pboard/controllers/root.py:106 pboard/controllers/root.py:165
81
+#: pod/controllers/root.py:106 pod/controllers/root.py:165
82 82
 msgid "Please login to access this page"
83 83
 msgstr "Merci de vous identifier pour accéder à cette page"
84 84
 
85
-#: pboard/controllers/root.py:142
85
+#: pod/controllers/root.py:142
86 86
 msgid "Document not found"
87 87
 msgstr "Le document n'a pas été trouvé"
88 88
 
89
-#: pboard/controllers/secure.py:16
89
+#: pod/controllers/secure.py:16
90 90
 msgid "Only for people with the \"manage\" permission"
91 91
 msgstr "Seulement pour les personnes ayant la permission \"manage\""
92 92
 
93
-#: pboard/controllers/secure.py:21
93
+#: pod/controllers/secure.py:21
94 94
 msgid "Secure Controller here"
95 95
 msgstr "Contrôleur sécurisé"
96 96
 
97
-#: pboard/lib/helpers.py:25
97
+#: pod/lib/helpers.py:25
98 98
 msgid "This is the current status."
99 99
 msgstr "C'est le statut actuel"
100 100
 
101
-#: pboard/lib/helpers.py:28
101
+#: pod/lib/helpers.py:28
102 102
 msgid "The item is a normal document, like a howto or a text document."
103 103
 msgstr "L'élément est un document normal, comme un howto ou un document texte"
104 104
 
105
-#: pboard/lib/helpers.py:30
105
+#: pod/lib/helpers.py:30
106 106
 msgid ""
107 107
 "The item will be automatically computed as \"in progress\" or \"done\" "
108 108
 "according to its children status."
@@ -110,634 +110,634 @@ msgstr ""
110 110
 "L'élément sera automatiquement mis en \"En cours\" ou \"Fait\" suivant le "
111 111
 "statut de ses enfants."
112 112
 
113
-#: pboard/lib/helpers.py:32
113
+#: pod/lib/helpers.py:32
114 114
 msgid "No action done on the item."
115 115
 msgstr "Aucun changement sur l'élément"
116 116
 
117
-#: pboard/lib/helpers.py:34
117
+#: pod/lib/helpers.py:34
118 118
 msgid "The item is being worked on."
119 119
 msgstr "L'élément est en cours d'utilisation."
120 120
 
121
-#: pboard/lib/helpers.py:36
121
+#: pod/lib/helpers.py:36
122 122
 msgid "Waiting for some external actions."
123 123
 msgstr "En attente d'actions externes."
124 124
 
125
-#: pboard/lib/helpers.py:38
125
+#: pod/lib/helpers.py:38
126 126
 msgid "The work associated with the item is finished."
127 127
 msgstr "L'action associée à l'élément n'est pas terminée."
128 128
 
129
-#: pboard/lib/helpers.py:40
129
+#: pod/lib/helpers.py:40
130 130
 msgid ""
131 131
 "Close the item if you want not to see it anymore. The data won't be deleted"
132 132
 msgstr ""
133 133
 "Fermez l'élément si vous ne voulez plus le voir. Les données ne seront pas "
134 134
 "supprimées"
135 135
 
136
-#: pboard/lib/helpers.py:42
136
+#: pod/lib/helpers.py:42
137 137
 msgid "This status tells that the item has been deleted."
138 138
 msgstr "Ce status indique que l'élément a été supprimé."
139 139
 
140
-#: pboard/model/data.py:372
140
+#: pod/model/data.py:372
141 141
 msgid "Titleless Document"
142 142
 msgstr "Document sans titre"
143 143
 
144
-#: pboard/templates/about.mak:15
144
+#: pod/templates/about.mak:15
145 145
 msgid "Simple tool, flexible data."
146 146
 msgstr "Simple tool, flexible data."
147 147
 
148
-#: pboard/templates/about.mak:53
148
+#: pod/templates/about.mak:53
149 149
 msgid "Improving pod"
150 150
 msgstr "Améliorer pod"
151 151
 
152
-#: pboard/templates/about.mak:55
152
+#: pod/templates/about.mak:55
153 153
 msgid " is a piece of software developed with <u>user needs</u> in mind."
154 154
 msgstr ""
155 155
 "est un logiciel dévelopé avec <u>les besoin de l'utilisateur</u> à l'esprit."
156 156
 
157
-#: pboard/templates/about.mak:56
157
+#: pod/templates/about.mak:56
158 158
 msgid "It means that we need:"
159 159
 msgstr "Cela signifie que nous avons besoin de :"
160 160
 
161
-#: pboard/templates/about.mak:58
161
+#: pod/templates/about.mak:58
162 162
 msgid "your feedback,"
163 163
 msgstr "vos retours,"
164 164
 
165
-#: pboard/templates/about.mak:59
165
+#: pod/templates/about.mak:59
166 166
 msgid "you to ask questions,"
167 167
 msgstr "vos questions,"
168 168
 
169
-#: pboard/templates/about.mak:60
169
+#: pod/templates/about.mak:60
170 170
 msgid "your feature requests,"
171 171
 msgstr "savoir quelles fonctionnalités vous voudriez,"
172 172
 
173
-#: pboard/templates/about.mak:61
173
+#: pod/templates/about.mak:61
174 174
 msgid "you to tell us what's cool and what's wrong."
175 175
 msgstr "que vous nous disiez ce qui est bien ou pas."
176 176
 
177
-#: pboard/templates/about.mak:72
177
+#: pod/templates/about.mak:72
178 178
 msgid "The author"
179 179
 msgstr "The author"
180 180
 
181
-#: pboard/templates/about.mak:79
181
+#: pod/templates/about.mak:79
182 182
 msgid "I'm 35 years old,"
183 183
 msgstr "I'm 35 years old,"
184 184
 
185
-#: pboard/templates/about.mak:80
185
+#: pod/templates/about.mak:80
186 186
 msgid "I'm a skilled software engineer,"
187 187
 msgstr "I'm a skilled software engineer,"
188 188
 
189
-#: pboard/templates/about.mak:81
189
+#: pod/templates/about.mak:81
190 190
 msgid "I live in France, near Grenoble."
191 191
 msgstr "I live in France, near Grenoble."
192 192
 
193
-#: pboard/templates/about.mak:99
193
+#: pod/templates/about.mak:99
194 194
 msgid "email us"
195 195
 msgstr "email us"
196 196
 
197
-#: pboard/templates/about.mak:100
197
+#: pod/templates/about.mak:100
198 198
 msgid "and we will reply to you."
199 199
 msgstr "and we will reply to you."
200 200
 
201
-#: pboard/templates/about.mak:101
201
+#: pod/templates/about.mak:101
202 202
 msgid "Thank you."
203 203
 msgstr "Thank you."
204 204
 
205
-#: pboard/templates/create_account.mak:5
205
+#: pod/templates/create_account.mak:5
206 206
 msgid "Create account"
207 207
 msgstr "Créer un compte"
208 208
 
209
-#: pboard/templates/dashboard.mak:15
209
+#: pod/templates/dashboard.mak:15
210 210
 msgid "What's hot!"
211 211
 msgstr "Quoi de neuf?"
212 212
 
213
-#: pboard/templates/dashboard.mak:17
213
+#: pod/templates/dashboard.mak:17
214 214
 msgid "No hot stuff for today."
215 215
 msgstr "Rien de neuf aujourd'hui."
216 216
 
217
-#: pboard/templates/dashboard.mak:30 pboard/templates/dashboard.mak:57
217
+#: pod/templates/dashboard.mak:30 pod/templates/dashboard.mak:57
218 218
 msgid "last modification"
219 219
 msgstr "dernière modification"
220 220
 
221
-#: pboard/templates/dashboard.mak:42
221
+#: pod/templates/dashboard.mak:42
222 222
 msgid "Actions to do"
223 223
 msgstr "Actions à faire"
224 224
 
225
-#: pboard/templates/dashboard.mak:44
225
+#: pod/templates/dashboard.mak:44
226 226
 msgid "No document requiring action."
227 227
 msgstr "Aucun document ne requière d'action."
228 228
 
229
-#: pboard/templates/dashboard.mak:72
229
+#: pod/templates/dashboard.mak:72
230 230
 msgid "Latest operations"
231 231
 msgstr "Derniers changements"
232 232
 
233
-#: pboard/templates/dashboard.mak:74
233
+#: pod/templates/dashboard.mak:74
234 234
 msgid "No activity found"
235 235
 msgstr "Pas de changements trouvés"
236 236
 
237
-#: pboard/templates/dashboard.mak:94
237
+#: pod/templates/dashboard.mak:94
238 238
 msgid "created"
239 239
 msgstr "créé"
240 240
 
241
-#: pboard/templates/dashboard.mak:96
241
+#: pod/templates/dashboard.mak:96
242 242
 msgid "updated"
243 243
 msgstr "mis à jour"
244 244
 
245
-#: pboard/templates/document-widgets-tabs.mak:5
245
+#: pod/templates/document-widgets-tabs.mak:5
246 246
 msgid "Revisions"
247 247
 msgstr "Révisions"
248 248
 
249
-#: pboard/templates/document-widgets-tabs.mak:18
249
+#: pod/templates/document-widgets-tabs.mak:18
250 250
 msgid "Share options"
251 251
 msgstr "Options de partage"
252 252
 
253
-#: pboard/templates/document-widgets-tabs.mak:21
253
+#: pod/templates/document-widgets-tabs.mak:21
254 254
 msgid "This document is not shared"
255 255
 msgstr "Ce document n'est pas partagé"
256 256
 
257
-#: pboard/templates/document-widgets-tabs.mak:23
257
+#: pod/templates/document-widgets-tabs.mak:23
258 258
 msgid "This document is shared."
259 259
 msgstr "Ce document est partagé"
260 260
 
261
-#: pboard/templates/document-widgets-tabs.mak:31
262
-#: pboard/templates/master.mak:155
261
+#: pod/templates/document-widgets-tabs.mak:31
262
+#: pod/templates/master.mak:155
263 263
 msgid "Groups"
264 264
 msgstr "Groupes"
265 265
 
266
-#: pboard/templates/document-widgets-tabs.mak:52
266
+#: pod/templates/document-widgets-tabs.mak:52
267 267
 msgid "Individual users"
268 268
 msgstr "Utilisateurs"
269 269
 
270
-#: pboard/templates/document-widgets-tabs.mak:92
270
+#: pod/templates/document-widgets-tabs.mak:92
271 271
 msgid "Edit share options"
272 272
 msgstr "Éditer les options de partage"
273 273
 
274
-#: pboard/templates/document-widgets-tabs.mak:118
274
+#: pod/templates/document-widgets-tabs.mak:118
275 275
 msgid "Share document with collaborators."
276 276
 msgstr "Partager le document avec des collaborateurs."
277 277
 
278
-#: pboard/templates/document-widgets-tabs.mak:121
278
+#: pod/templates/document-widgets-tabs.mak:121
279 279
 msgid "Select read and write access for each group or people..."
280 280
 msgstr ""
281 281
 "Sélectionnez l'accès en \"lecture\" ou \"écriture\" pour chaque groupe ou "
282 282
 "personne ..."
283 283
 
284
-#: pboard/templates/document-widgets-tabs.mak:171
284
+#: pod/templates/document-widgets-tabs.mak:171
285 285
 msgid "Group"
286 286
 msgstr "Groupe"
287 287
 
288
-#: pboard/templates/document-widgets-tabs.mak:172
289
-#: pboard/templates/document-widgets-tabs.mak:203
288
+#: pod/templates/document-widgets-tabs.mak:172
289
+#: pod/templates/document-widgets-tabs.mak:203
290 290
 msgid "Access"
291 291
 msgstr "Accès"
292 292
 
293
-#: pboard/templates/document-widgets-tabs.mak:202
293
+#: pod/templates/document-widgets-tabs.mak:202
294 294
 msgid "Individual Users"
295 295
 msgstr "Utilisateurs individuels"
296 296
 
297
-#: pboard/templates/document-widgets-tabs.mak:260
298
-#: pboard/templates/document-widgets.mak:335
299
-#: pboard/templates/document-widgets.mak:412
300
-#: pboard/templates/document-widgets.mak:487
301
-#: pboard/templates/document-widgets.mak:561
302
-#: pboard/templates/document-widgets.mak:662 pboard/templates/pod.mak:46
297
+#: pod/templates/document-widgets-tabs.mak:260
298
+#: pod/templates/document-widgets.mak:335
299
+#: pod/templates/document-widgets.mak:412
300
+#: pod/templates/document-widgets.mak:487
301
+#: pod/templates/document-widgets.mak:561
302
+#: pod/templates/document-widgets.mak:662 pod/templates/pod.mak:46
303 303
 msgid "Cancel"
304 304
 msgstr "Abandonner"
305 305
 
306
-#: pboard/templates/document-widgets-tabs.mak:263
307
-#: pboard/templates/document-widgets.mak:338
308
-#: pboard/templates/document-widgets.mak:415
309
-#: pboard/templates/document-widgets.mak:490
310
-#: pboard/templates/document-widgets.mak:564
311
-#: pboard/templates/document-widgets.mak:665
306
+#: pod/templates/document-widgets-tabs.mak:263
307
+#: pod/templates/document-widgets.mak:338
308
+#: pod/templates/document-widgets.mak:415
309
+#: pod/templates/document-widgets.mak:490
310
+#: pod/templates/document-widgets.mak:564
311
+#: pod/templates/document-widgets.mak:665
312 312
 msgid "Save changes"
313 313
 msgstr "Sauvergarder"
314 314
 
315
-#: pboard/templates/document-widgets-tabs.mak:369
316
-#: pboard/templates/document-widgets.mak:686
315
+#: pod/templates/document-widgets-tabs.mak:369
316
+#: pod/templates/document-widgets.mak:686
317 317
 msgid "Attachments"
318 318
 msgstr "Pièces jointes"
319 319
 
320
-#: pboard/templates/document-widgets-tabs.mak:372
320
+#: pod/templates/document-widgets-tabs.mak:372
321 321
 msgid "There is currently no attachment."
322 322
 msgstr "Il n'y a pas de pièces jointes pour le moment."
323 323
 
324
-#: pboard/templates/document-widgets-tabs.mak:373
324
+#: pod/templates/document-widgets-tabs.mak:373
325 325
 msgid " Attach first file"
326 326
 msgstr "Joindre le premier fichier"
327 327
 
328
-#: pboard/templates/document-widgets-tabs.mak:375
328
+#: pod/templates/document-widgets-tabs.mak:375
329 329
 msgid " Attach a file"
330 330
 msgstr "Joindre un fichier"
331 331
 
332
-#: pboard/templates/document-widgets-tabs.mak:385
332
+#: pod/templates/document-widgets-tabs.mak:385
333 333
 msgid "Download the file"
334 334
 msgstr "Télécharger le fichier"
335 335
 
336
-#: pboard/templates/document-widgets-tabs.mak:393
336
+#: pod/templates/document-widgets-tabs.mak:393
337 337
 msgid "View the attachment"
338 338
 msgstr "Voir les pièces jointe"
339 339
 
340
-#: pboard/templates/document-widgets-tabs.mak:404
340
+#: pod/templates/document-widgets-tabs.mak:404
341 341
 msgid "Sub-documents"
342 342
 msgstr "Sous documents"
343 343
 
344
-#: pboard/templates/document-widgets-tabs.mak:407
344
+#: pod/templates/document-widgets-tabs.mak:407
345 345
 msgid "There is currently no child documents."
346 346
 msgstr "Il n'y a pas de sous documents pour le moment."
347 347
 
348
-#: pboard/templates/document-widgets-tabs.mak:409
348
+#: pod/templates/document-widgets-tabs.mak:409
349 349
 msgid "Add a document"
350 350
 msgstr "Ajouter un document"
351 351
 
352
-#: pboard/templates/document-widgets-tabs.mak:428
353
-#: pboard/templates/document-widgets.mak:683
352
+#: pod/templates/document-widgets-tabs.mak:428
353
+#: pod/templates/document-widgets.mak:683
354 354
 msgid "Calendar"
355 355
 msgstr "Calendrier"
356 356
 
357
-#: pboard/templates/document-widgets-tabs.mak:431
357
+#: pod/templates/document-widgets-tabs.mak:431
358 358
 msgid "The calendar is empty."
359 359
 msgstr "Le calendrier est vide."
360 360
 
361
-#: pboard/templates/document-widgets-tabs.mak:432
361
+#: pod/templates/document-widgets-tabs.mak:432
362 362
 msgid " Add first event"
363 363
 msgstr "Ajouter le premier évènement"
364 364
 
365
-#: pboard/templates/document-widgets-tabs.mak:434
365
+#: pod/templates/document-widgets-tabs.mak:434
366 366
 msgid " Add an event"
367 367
 msgstr "Ajouter un évènement"
368 368
 
369
-#: pboard/templates/document-widgets-tabs.mak:468
370
-#: pboard/templates/document-widgets.mak:684
369
+#: pod/templates/document-widgets-tabs.mak:468
370
+#: pod/templates/document-widgets.mak:684
371 371
 msgid "Address book"
372 372
 msgstr "Carnet d'adresses"
373 373
 
374
-#: pboard/templates/document-widgets-tabs.mak:470
374
+#: pod/templates/document-widgets-tabs.mak:470
375 375
 msgid "The address book is empty."
376 376
 msgstr "Le carnet d'adresses est vide"
377 377
 
378
-#: pboard/templates/document-widgets-tabs.mak:471
378
+#: pod/templates/document-widgets-tabs.mak:471
379 379
 msgid "Add first contact"
380 380
 msgstr "Ajouter le premier contact"
381 381
 
382
-#: pboard/templates/document-widgets-tabs.mak:473
382
+#: pod/templates/document-widgets-tabs.mak:473
383 383
 msgid "Add a contact"
384 384
 msgstr "Ajouter un contact"
385 385
 
386
-#: pboard/templates/document-widgets-tabs.mak:494
387
-#: pboard/templates/document-widgets.mak:685
386
+#: pod/templates/document-widgets-tabs.mak:494
387
+#: pod/templates/document-widgets.mak:685
388 388
 msgid "Comment thread"
389 389
 msgstr "Fil de discussions"
390 390
 
391
-#: pboard/templates/document-widgets-tabs.mak:497
391
+#: pod/templates/document-widgets-tabs.mak:497
392 392
 msgid "The comment thread is empty."
393 393
 msgstr "Le fil de discussion est vide"
394 394
 
395
-#: pboard/templates/document-widgets-tabs.mak:505
395
+#: pod/templates/document-widgets-tabs.mak:505
396 396
 msgid "Add a comment"
397 397
 msgstr "Ajouter un commentaire"
398 398
 
399
-#: pboard/templates/document-widgets-tabs.mak:520
399
+#: pod/templates/document-widgets-tabs.mak:520
400 400
 msgid "the"
401 401
 msgstr "le"
402 402
 
403
-#: pboard/templates/document-widgets-tabs.mak:522
403
+#: pod/templates/document-widgets-tabs.mak:522
404 404
 msgid "at"
405 405
 msgstr "à"
406 406
 
407
-#: pboard/templates/document-widgets-tabs.mak:530
407
+#: pod/templates/document-widgets-tabs.mak:530
408 408
 msgid "Shared comment. Click to make private."
409 409
 msgstr "Commentaire partagé. Cliquez pour rendre privé."
410 410
 
411
-#: pboard/templates/document-widgets-tabs.mak:532
411
+#: pod/templates/document-widgets-tabs.mak:532
412 412
 msgid "Private comment. Click to share."
413 413
 msgstr "Commentaire privé. Cliquez pour partager."
414 414
 
415
-#: pboard/templates/document-widgets-tabs.mak:550
415
+#: pod/templates/document-widgets-tabs.mak:550
416 416
 msgid "Write your comment below:"
417 417
 msgstr "Écrivez votre commentaire ici :"
418 418
 
419
-#: pboard/templates/document-widgets-tabs.mak:554
419
+#: pod/templates/document-widgets-tabs.mak:554
420 420
 msgid "Share this comment"
421 421
 msgstr "Partager ce commentaire"
422 422
 
423
-#: pboard/templates/document-widgets-tabs.mak:558
423
+#: pod/templates/document-widgets-tabs.mak:558
424 424
 msgid "Add first comment"
425 425
 msgstr "Ajouter le premier commentaire"
426 426
 
427
-#: pboard/templates/document-widgets-tabs.mak:560
428
-#: pboard/templates/document-widgets.mak:103
427
+#: pod/templates/document-widgets-tabs.mak:560
428
+#: pod/templates/document-widgets.mak:103
429 429
 msgid "Comment"
430 430
 msgstr "Commentaire"
431 431
 
432
-#: pboard/templates/document-widgets.mak:9
432
+#: pod/templates/document-widgets.mak:9
433 433
 msgid "Home"
434 434
 msgstr "Accueil"
435 435
 
436
-#: pboard/templates/document-widgets.mak:56
436
+#: pod/templates/document-widgets.mak:56
437 437
 msgid "Change status"
438 438
 msgstr "Changer le statut"
439 439
 
440
-#: pboard/templates/document-widgets.mak:63
440
+#: pod/templates/document-widgets.mak:63
441 441
 msgid "Current status is..."
442 442
 msgstr "Le statut actuel est ..."
443 443
 
444
-#: pboard/templates/document-widgets.mak:72
444
+#: pod/templates/document-widgets.mak:72
445 445
 msgid "Change to..."
446 446
 msgstr "Changer en ..."
447 447
 
448
-#: pboard/templates/document-widgets.mak:73
448
+#: pod/templates/document-widgets.mak:73
449 449
 msgid "change the status to..."
450 450
 msgstr "changer le status en ..."
451 451
 
452
-#: pboard/templates/document-widgets.mak:86
452
+#: pod/templates/document-widgets.mak:86
453 453
 msgid "Add"
454 454
 msgstr "Ajouter"
455 455
 
456
-#: pboard/templates/document-widgets.mak:92
456
+#: pod/templates/document-widgets.mak:92
457 457
 msgid "Add New..."
458 458
 msgstr "Ajouter un nouveau ..."
459 459
 
460
-#: pboard/templates/document-widgets.mak:93
460
+#: pod/templates/document-widgets.mak:93
461 461
 msgid "create a totally new item..."
462 462
 msgstr "créer un nouvel élément ..."
463 463
 
464
-#: pboard/templates/document-widgets.mak:96
464
+#: pod/templates/document-widgets.mak:96
465 465
 msgid "Document"
466 466
 msgstr "Document"
467 467
 
468
-#: pboard/templates/document-widgets.mak:97
468
+#: pod/templates/document-widgets.mak:97
469 469
 msgid "File"
470 470
 msgstr "Fichier"
471 471
 
472
-#: pboard/templates/document-widgets.mak:98
473
-#: pboard/templates/document-widgets.mak:453
472
+#: pod/templates/document-widgets.mak:98
473
+#: pod/templates/document-widgets.mak:453
474 474
 msgid "Event"
475 475
 msgstr "Évènement"
476 476
 
477
-#: pboard/templates/document-widgets.mak:99
477
+#: pod/templates/document-widgets.mak:99
478 478
 msgid "Contact"
479 479
 msgstr "Contact"
480 480
 
481
-#: pboard/templates/document-widgets.mak:117
481
+#: pod/templates/document-widgets.mak:117
482 482
 msgid "more ..."
483 483
 msgstr "plus ..."
484 484
 
485
-#: pboard/templates/document-widgets.mak:121
485
+#: pod/templates/document-widgets.mak:121
486 486
 msgid "Advanced actions..."
487 487
 msgstr "Actions avancées"
488 488
 
489
-#: pboard/templates/document-widgets.mak:122
489
+#: pod/templates/document-widgets.mak:122
490 490
 msgid "power user actions..."
491 491
 msgstr "Actions avancées ..."
492 492
 
493
-#: pboard/templates/document-widgets.mak:127
493
+#: pod/templates/document-widgets.mak:127
494 494
 msgid "Move"
495 495
 msgstr "Déplacer"
496 496
 
497
-#: pboard/templates/document-widgets.mak:128
497
+#: pod/templates/document-widgets.mak:128
498 498
 msgid "Delete"
499 499
 msgstr "Supprimer"
500 500
 
501
-#: pboard/templates/document-widgets.mak:128
501
+#: pod/templates/document-widgets.mak:128
502 502
 msgid "Delete the current document"
503 503
 msgstr "Supprimer le document actuel"
504 504
 
505
-#: pboard/templates/document-widgets.mak:178
506
-#: pboard/templates/document-widgets.mak:379
505
+#: pod/templates/document-widgets.mak:178
506
+#: pod/templates/document-widgets.mak:379
507 507
 msgid "Title"
508 508
 msgstr "Titre"
509 509
 
510
-#: pboard/templates/document-widgets.mak:184
511
-#: pboard/templates/document-widgets.mak:314
510
+#: pod/templates/document-widgets.mak:184
511
+#: pod/templates/document-widgets.mak:314
512 512
 msgid "document title"
513 513
 msgstr "titre du document"
514 514
 
515
-#: pboard/templates/document-widgets.mak:217
515
+#: pod/templates/document-widgets.mak:217
516 516
 msgid "This document is private"
517 517
 msgstr "Ce document est privé"
518 518
 
519
-#: pboard/templates/document-widgets.mak:219
519
+#: pod/templates/document-widgets.mak:219
520 520
 msgid "private"
521 521
 msgstr "privé"
522 522
 
523
-#: pboard/templates/document-widgets.mak:222
523
+#: pod/templates/document-widgets.mak:222
524 524
 msgid "This document is shared"
525 525
 msgstr "Ce document est partagé"
526 526
 
527
-#: pboard/templates/document-widgets.mak:224
527
+#: pod/templates/document-widgets.mak:224
528 528
 msgid "shared"
529 529
 msgstr "partagé"
530 530
 
531
-#: pboard/templates/document-widgets.mak:260
531
+#: pod/templates/document-widgets.mak:260
532 532
 msgid "<p>We suggest you to start...<br/><br/></p>"
533 533
 msgstr "<p>Nous vous suggérons de commencer ...<br /><br /></p>"
534 534
 
535
-#: pboard/templates/document-widgets.mak:263
535
+#: pod/templates/document-widgets.mak:263
536 536
 msgid "by working on existing items"
537 537
 msgstr "en travaillant sur des éléments existants"
538 538
 
539
-#: pboard/templates/document-widgets.mak:265
539
+#: pod/templates/document-widgets.mak:265
540 540
 msgid "or"
541 541
 msgstr "ou"
542 542
 
543
-#: pboard/templates/document-widgets.mak:268
543
+#: pod/templates/document-widgets.mak:268
544 544
 msgid "by creating a new document"
545 545
 msgstr "en créant un nouveau document"
546 546
 
547
-#: pboard/templates/document-widgets.mak:271
547
+#: pod/templates/document-widgets.mak:271
548 548
 msgid "Create"
549 549
 msgstr "Créer"
550 550
 
551
-#: pboard/templates/document-widgets.mak:323
552
-#: pboard/templates/document-widgets.mak:401
553
-#: pboard/templates/document-widgets.mak:474
554
-#: pboard/templates/document-widgets.mak:548
551
+#: pod/templates/document-widgets.mak:323
552
+#: pod/templates/document-widgets.mak:401
553
+#: pod/templates/document-widgets.mak:474
554
+#: pod/templates/document-widgets.mak:548
555 555
 msgid "Share:"
556 556
 msgstr "Partager :"
557 557
 
558
-#: pboard/templates/document-widgets.mak:324
559
-#: pboard/templates/document-widgets.mak:402
560
-#: pboard/templates/document-widgets.mak:475
561
-#: pboard/templates/document-widgets.mak:549
558
+#: pod/templates/document-widgets.mak:324
559
+#: pod/templates/document-widgets.mak:402
560
+#: pod/templates/document-widgets.mak:475
561
+#: pod/templates/document-widgets.mak:549
562 562
 msgid "if checked, then copy share properties from current item"
563 563
 msgstr "si coché, les options de partage seront copiées de l'élément actuel"
564 564
 
565
-#: pboard/templates/document-widgets.mak:385
565
+#: pod/templates/document-widgets.mak:385
566 566
 msgid "this field is optionnal"
567 567
 msgstr "ce champ est optionnel"
568 568
 
569
-#: pboard/templates/document-widgets.mak:389
569
+#: pod/templates/document-widgets.mak:389
570 570
 msgid "Choose a file..."
571 571
 msgstr "Choisir un fichier ..."
572 572
 
573
-#: pboard/templates/document-widgets.mak:390
573
+#: pod/templates/document-widgets.mak:390
574 574
 msgid "choose a file..."
575 575
 msgstr "choisir un fichier ..."
576 576
 
577
-#: pboard/templates/document-widgets.mak:395
577
+#: pod/templates/document-widgets.mak:395
578 578
 msgid "File description (optionnal)"
579 579
 msgstr "Description du fichier (optionnel)"
580 580
 
581
-#: pboard/templates/document-widgets.mak:457
581
+#: pod/templates/document-widgets.mak:457
582 582
 msgid "Date and time"
583 583
 msgstr "Date et heure"
584 584
 
585
-#: pboard/templates/document-widgets.mak:464
585
+#: pod/templates/document-widgets.mak:464
586 586
 msgid "Event description:"
587 587
 msgstr "Description de l'évènement :"
588 588
 
589
-#: pboard/templates/document-widgets.mak:530
589
+#: pod/templates/document-widgets.mak:530
590 590
 msgid "Contact name and firstname"
591 591
 msgstr "Nom et prénom du contact"
592 592
 
593
-#: pboard/templates/document-widgets.mak:536
593
+#: pod/templates/document-widgets.mak:536
594 594
 msgid "name, firstname, title..."
595 595
 msgstr "nom, prénom, titre ..."
596 596
 
597
-#: pboard/templates/document-widgets.mak:541
597
+#: pod/templates/document-widgets.mak:541
598 598
 msgid "Address, phone, email, company..."
599 599
 msgstr "Adresse, téléphone, email, entreprise ..."
600 600
 
601
-#: pboard/templates/document-widgets.mak:596
601
+#: pod/templates/document-widgets.mak:596
602 602
 msgid "Select the destination:"
603 603
 msgstr "Sélectionnez la destination :"
604 604
 
605
-#: pboard/templates/document-widgets.mak:682
605
+#: pod/templates/document-widgets.mak:682
606 606
 msgid "Subdocuments"
607 607
 msgstr "Sous documents"
608 608
 
609
-#: pboard/templates/document-widgets.mak:687
609
+#: pod/templates/document-widgets.mak:687
610 610
 msgid "Access Management"
611 611
 msgstr "Gestion des droits"
612 612
 
613
-#: pboard/templates/document-widgets.mak:688
613
+#: pod/templates/document-widgets.mak:688
614 614
 msgid "History"
615 615
 msgstr "Historique"
616 616
 
617
-#: pboard/templates/document-widgets.mak:715
617
+#: pod/templates/document-widgets.mak:715
618 618
 msgid "Content explorer"
619 619
 msgstr "Explorateur de contenu"
620 620
 
621
-#: pboard/templates/document-widgets.mak:799
621
+#: pod/templates/document-widgets.mak:799
622 622
 msgid "There is no content yet."
623 623
 msgstr "Il n'y a pas de contenu pour le moment."
624 624
 
625
-#: pboard/templates/document-widgets.mak:800
625
+#: pod/templates/document-widgets.mak:800
626 626
 msgid "Create a topic"
627 627
 msgstr "Créer un sujet"
628 628
 
629
-#: pboard/templates/document.mak:15
629
+#: pod/templates/document.mak:15
630 630
 msgid "Toggle view mode [narrow, medium, large]"
631 631
 msgstr "Changer la vue [étroite, médium, large]"
632 632
 
633
-#: pboard/templates/document.mak:16
633
+#: pod/templates/document.mak:16
634 634
 msgid "Toggle view mode: narrow"
635 635
 msgstr "Changer la vue : étroite"
636 636
 
637
-#: pboard/templates/document.mak:17
637
+#: pod/templates/document.mak:17
638 638
 msgid "Toggle view mode: medium"
639 639
 msgstr "Changer la vue : médium"
640 640
 
641
-#: pboard/templates/document.mak:18
641
+#: pod/templates/document.mak:18
642 642
 msgid "Toggle view mode: large"
643 643
 msgstr "Changer la vue : large"
644 644
 
645
-#: pboard/templates/document.mak:61
645
+#: pod/templates/document.mak:61
646 646
 msgid "New Sub-document"
647 647
 msgstr "Nouveau sous document"
648 648
 
649
-#: pboard/templates/document.mak:62
649
+#: pod/templates/document.mak:62
650 650
 msgid "Add an event"
651 651
 msgstr "Ajouter un évènement"
652 652
 
653
-#: pboard/templates/document.mak:63
653
+#: pod/templates/document.mak:63
654 654
 msgid "Add a new contact"
655 655
 msgstr "Ajouter un nouveau contact"
656 656
 
657
-#: pboard/templates/document.mak:64
657
+#: pod/templates/document.mak:64
658 658
 msgid "Add a new file"
659 659
 msgstr "Ajouter un nouveau fichier"
660 660
 
661
-#: pboard/templates/document.mak:65
661
+#: pod/templates/document.mak:65
662 662
 msgid "Move the document"
663 663
 msgstr "Déplacer le document"
664 664
 
665
-#: pboard/templates/index.mak:30
665
+#: pod/templates/index.mak:30
666 666
 msgid "Remember me"
667 667
 msgstr "Se souvenir de moi"
668 668
 
669
-#: pboard/templates/index.mak:38
669
+#: pod/templates/index.mak:38
670 670
 msgid "Welcome, "
671 671
 msgstr "Bienvenue,"
672 672
 
673
-#: pboard/templates/index.mak:39
673
+#: pod/templates/index.mak:39
674 674
 msgid ""
675 675
 "Click on <a href=\"{0}\">Document</a> in the top menu to access you data."
676 676
 msgstr ""
677 677
 "Cliquez sur <a href=\"{0}\">Document</a> dans le menu du haut pour accéder à "
678 678
 "vos données."
679 679
 
680
-#: pboard/templates/index.mak:53
680
+#: pod/templates/index.mak:53
681 681
 msgid "Text documents"
682 682
 msgstr "Documents texte"
683 683
 
684
-#: pboard/templates/index.mak:54
684
+#: pod/templates/index.mak:54
685 685
 msgid "Events"
686 686
 msgstr "Évènements"
687 687
 
688
-#: pboard/templates/index.mak:55
688
+#: pod/templates/index.mak:55
689 689
 msgid "Contacts"
690 690
 msgstr "Contacts"
691 691
 
692
-#: pboard/templates/index.mak:56
692
+#: pod/templates/index.mak:56
693 693
 msgid "Comments"
694 694
 msgstr "Commentaires"
695 695
 
696
-#: pboard/templates/index.mak:57
696
+#: pod/templates/index.mak:57
697 697
 msgid "Files"
698 698
 msgstr "Fichiers"
699 699
 
700
-#: pboard/templates/master.mak:60
700
+#: pod/templates/master.mak:60
701 701
 msgid "collaborative work  ♦  improved efficiency  ♦  full traceability"
702 702
 msgstr "collaborative work  ♦  improved efficiency  ♦  full traceability"
703 703
 
704
-#: pboard/templates/master.mak:93
704
+#: pod/templates/master.mak:93
705 705
 msgid "Documents"
706 706
 msgstr "Documents"
707 707
 
708
-#: pboard/templates/master.mak:154
708
+#: pod/templates/master.mak:154
709 709
 msgid "Users"
710 710
 msgstr "Utilisateurs"
711 711
 
712
-#: pboard/templates/master.mak:180
712
+#: pod/templates/master.mak:180
713 713
 msgid "Search"
714 714
 msgstr "Recherche"
715 715
 
716
-#: pboard/templates/master.mak:190
716
+#: pod/templates/master.mak:190
717 717
 msgid "Help / About"
718 718
 msgstr "Aide/A propos"
719 719
 
720
-#: pboard/templates/pod.mak:43
720
+#: pod/templates/pod.mak:43
721 721
 msgid "Edit"
722 722
 msgstr "Éditer"
723 723
 
724
-#: pboard/templates/pod.mak:50 pboard/templates/pod.mak:52
724
+#: pod/templates/pod.mak:50 pod/templates/pod.mak:52
725 725
 msgid "New"
726 726
 msgstr "Nouveau"
727 727
 
728
-#: pboard/templates/pod.mak:83
728
+#: pod/templates/pod.mak:83
729 729
 msgid "Create an account"
730 730
 msgstr "Créer un compte"
731 731
 
732
-#: pboard/templates/search.mak:13
732
+#: pod/templates/search.mak:13
733 733
 msgid "Search again"
734 734
 msgstr "Chercher de nouveau"
735 735
 
736
-#: pboard/templates/search.mak:22
736
+#: pod/templates/search.mak:22
737 737
 msgid "Results"
738 738
 msgstr "Résultats"
739 739
 
740
-#: pboard/templates/search.mak:83
740
+#: pod/templates/search.mak:83
741 741
 msgid "No data found for keywords:"
742 742
 msgstr "Aucune correspondance pour les mots clés :"
743 743
 

+ 2 - 2
pboard/pboard/lib/auth.py View File

@@ -1,8 +1,8 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 """Predicates for authorizations"""
3 3
 from tg.predicates import Predicate
4
-from pboard.model import DBSession as session
5
-from pboard.model.auth import Permission, User
4
+from pod.model import DBSession as session
5
+from pod.model.auth import Permission, User
6 6
 import logging as l
7 7
 
8 8
 DIRTY_canReadOrCanWriteSqlQuery = """

+ 3 - 3
pboard/pboard/lib/dbapi.py View File

@@ -12,9 +12,9 @@ from sqlalchemy.orm import joinedload_all
12 12
 import sqlalchemy.orm as sqlao
13 13
 import sqlalchemy as sqla
14 14
 
15
-from pboard.model import data as pbmd
16
-from pboard.model import auth as pbma
17
-import pboard.model as pbm
15
+from pod.model import data as pbmd
16
+from pod.model import auth as pbma
17
+import pod.model as pbm
18 18
 
19 19
 import tg
20 20
 

+ 1 - 1
pboard/pboard/lib/helpers.py View File

@@ -1,6 +1,6 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 
3
-"""WebHelpers used in pboard."""
3
+"""WebHelpers used in pod."""
4 4
 
5 5
 #from webhelpers import date, feedgenerator, html, number, misc, text
6 6
 from markupsafe import Markup

+ 2 - 2
pboard/pboard/model/__init__.py View File

@@ -59,5 +59,5 @@ def init_model(engine):
59 59
     #mapper(Reflected, t_reflected)
60 60
 
61 61
 # Import your model modules here.
62
-from pboard.model.auth import User, Group, Permission
63
-from pboard.model.data import PBNode
62
+from pod.model.auth import User, Group, Permission
63
+from pod.model.data import PBNode

+ 2 - 2
pboard/pboard/model/auth.py View File

@@ -4,7 +4,7 @@ Auth* related model.
4 4
 
5 5
 This is where the models used by the authentication stack are defined.
6 6
 
7
-It's perfectly fine to re-use this definition in the pboard application,
7
+It's perfectly fine to re-use this definition in the pod application,
8 8
 though.
9 9
 
10 10
 """
@@ -19,7 +19,7 @@ from sqlalchemy import Table, ForeignKey, Column
19 19
 from sqlalchemy.types import Unicode, Integer, DateTime, Boolean
20 20
 from sqlalchemy.orm import relation, relationship, synonym
21 21
 
22
-from pboard.model import DeclarativeBase, metadata, DBSession
22
+from pod.model import DeclarativeBase, metadata, DBSession
23 23
 
24 24
 # This is the association table for the many-to-many relationship between
25 25
 # groups and permissions.

+ 3 - 3
pboard/pboard/model/data.py View File

@@ -21,9 +21,9 @@ from sqlalchemy import orm as sqlao
21 21
 from tg.i18n import ugettext as _, lazy_ugettext as l_
22 22
 
23 23
 import tg
24
-from pboard.model import DeclarativeBase, metadata, DBSession
25
-from pboard.model import auth as pma
26
-from pboard.lib.base import current_user
24
+from pod.model import DeclarativeBase, metadata, DBSession
25
+from pod.model import auth as pma
26
+from pod.lib.base import current_user
27 27
 
28 28
 
29 29
 class PBNodeStatusItem(object):

+ 1 - 1
pboard/pboard/model/model.template View File

@@ -7,7 +7,7 @@ from sqlalchemy import Table, ForeignKey, Column
7 7
 from sqlalchemy.types import Integer, Unicode
8 8
 #from sqlalchemy.orm import relation, backref
9 9
 
10
-from pboard.model import DeclarativeBase, metadata, DBSession
10
+from pod.model import DeclarativeBase, metadata, DBSession
11 11
 
12 12
 
13 13
 class SampleModel(DeclarativeBase):

+ 1 - 1
pboard/pboard/model/serializers.py View File

@@ -1,6 +1,6 @@
1 1
 # -*- coding: utf-8 -*-
2 2
 import tg
3
-from pboard.model import data as pmd
3
+from pod.model import data as pmd
4 4
 
5 5
 def node_to_dict(node: pmd.PBNode, children_content, new_item_state):
6 6
     """

File diff suppressed because it is too large
+ 1 - 1
pboard/pboard/public/css/external/font-awesome-4.1.0/css/font-awesome.min.css


File diff suppressed because it is too large
+ 1 - 1
pboard/pboard/public/javascript/external/google-code-prettify/lang-matlab.js


+ 1 - 1
pboard/pboard/templates/about.mak View File

@@ -1,5 +1,5 @@
1 1
 <%inherit file="local:templates.master"/>
2
-<%namespace name="POD" file="pboard.templates.pod"/>
2
+<%namespace name="POD" file="pod.templates.pod"/>
3 3
 
4 4
 <%def name="title()">
5 5
   pod :: take notes, list tasks, write documents, manage projects

+ 1 - 1
pboard/pboard/templates/create_account.mak View File

@@ -1,5 +1,5 @@
1 1
 <%inherit file="local:templates.master"/>
2
-<%namespace name="POD" file="pboard.templates.pod"/>
2
+<%namespace name="POD" file="pod.templates.pod"/>
3 3
 
4 4
 <%def name="title()">
5 5
   pod :: ${_('Create account')}

+ 1 - 1
pboard/pboard/templates/dashboard.mak View File

@@ -1,5 +1,5 @@
1 1
 <%inherit file="local:templates.master"/>
2
-<%namespace name="POD" file="pboard.templates.pod"/>
2
+<%namespace name="POD" file="pod.templates.pod"/>
3 3
 
4 4
 <%def name="title()">
5 5
 pod :: your dashboard

+ 1 - 1
pboard/pboard/templates/document-widgets-tabs.mak View File

@@ -1,5 +1,5 @@
1 1
 <%inherit file="local:templates.master"/>
2
-<%namespace name="POD" file="pboard.templates.pod"/>
2
+<%namespace name="POD" file="pod.templates.pod"/>
3 3
 
4 4
 <%def name="HistoryTabContent(poNode)">
5 5
   <h4>${_('Revisions')}</h4>

+ 2 - 2
pboard/pboard/templates/document-widgets.mak View File

@@ -1,6 +1,6 @@
1 1
 <%inherit file="local:templates.master"/>
2
-<%namespace name="POD" file="pboard.templates.pod"/>
3
-<%namespace name="DOCTABS" file="pboard.templates.document-widgets-tabs"/>
2
+<%namespace name="POD" file="pod.templates.pod"/>
3
+<%namespace name="DOCTABS" file="pod.templates.document-widgets-tabs"/>
4 4
 
5 5
 <%def name="node_treeview_for_set_parent_menu(node_id, node_list, indentation=-1)">
6 6
   % if indentation==-1:

+ 3 - 3
pboard/pboard/templates/document.mak View File

@@ -1,7 +1,7 @@
1 1
 <%inherit file="local:templates.master"/>
2
-<%namespace name="POD" file="pboard.templates.pod"/>
3
-<%namespace name="DOC" file="pboard.templates.document-widgets"/>
4
-<%namespace name="DOCTABS" file="pboard.templates.document-widgets-tabs"/>
2
+<%namespace name="POD" file="pod.templates.pod"/>
3
+<%namespace name="DOC" file="pod.templates.document-widgets"/>
4
+<%namespace name="DOCTABS" file="pod.templates.document-widgets-tabs"/>
5 5
 
6 6
 <%def name="title()">
7 7
   % if current_node!=None:

+ 1 - 1
pboard/pboard/templates/index.mak View File

@@ -1,5 +1,5 @@
1 1
 <%inherit file="local:templates.master"/>
2
-<%namespace name="POD" file="pboard.templates.pod"/>
2
+<%namespace name="POD" file="pod.templates.pod"/>
3 3
 
4 4
 <%def name="title()">
5 5
   pod :: take notes, list tasks, write documents, manage projects blabla

+ 1 - 1
pboard/pboard/templates/master.mak View File

@@ -1,4 +1,4 @@
1
-<%namespace name="POD" file="pboard.templates.pod"/>
1
+<%namespace name="POD" file="pod.templates.pod"/>
2 2
 <!DOCTYPE html>
3 3
 <html>
4 4
 <head>

+ 1 - 1
pboard/pboard/templates/search.mak View File

@@ -1,5 +1,5 @@
1 1
 <%inherit file="local:templates.master"/>
2
-<%namespace name="POD" file="pboard.templates.pod"/>
2
+<%namespace name="POD" file="pod.templates.pod"/>
3 3
 
4 4
 <%def name="title()">
5 5
 pod :: your dashboard

+ 4 - 4
pboard/pboard/tests/__init__.py View File

@@ -1,5 +1,5 @@
1 1
 # -*- coding: utf-8 -*-
2
-"""Unit and functional test suite for pboard."""
2
+"""Unit and functional test suite for pod."""
3 3
 
4 4
 from os import getcwd, path
5 5
 
@@ -10,7 +10,7 @@ from gearbox.commands.setup_app import SetupAppCommand
10 10
 from tg import config
11 11
 from tg.util import Bunch
12 12
 
13
-from pboard import model
13
+from pod import model
14 14
 
15 15
 __all__ = ['setup_app', 'setup_db', 'teardown_db', 'TestController']
16 16
 
@@ -43,12 +43,12 @@ def teardown_db():
43 43
 class TestController(object):
44 44
     """Base functional test case for the controllers.
45 45
 
46
-    The pboard application instance (``self.app``) set up in this test
46
+    The pod application instance (``self.app``) set up in this test
47 47
     case (and descendants) has authentication disabled, so that developers can
48 48
     test the protected areas independently of the :mod:`repoze.who` plugins
49 49
     used initially. This way, authentication can be tested once and separately.
50 50
 
51
-    Check pboard.tests.functional.test_authentication for the repoze.who
51
+    Check pod.tests.functional.test_authentication for the repoze.who
52 52
     integration tests.
53 53
 
54 54
     This is the officially supported way to test protected areas with

+ 2 - 2
pboard/pboard/tests/functional/test_authentication.py View File

@@ -2,7 +2,7 @@
2 2
 """
3 3
 Integration tests for the :mod:`repoze.who`-powered authentication sub-system.
4 4
 
5
-As pboard grows and the authentication method changes, only these tests
5
+As pod grows and the authentication method changes, only these tests
6 6
 should be updated.
7 7
 
8 8
 """
@@ -10,7 +10,7 @@ from __future__ import unicode_literals
10 10
 
11 11
 from nose.tools import eq_, ok_
12 12
 
13
-from pboard.tests import TestController
13
+from pod.tests import TestController
14 14
 
15 15
 
16 16
 class TestAuthentication(TestController):

+ 1 - 1
pboard/pboard/tests/functional/test_root.py View File

@@ -13,7 +13,7 @@ Please read http://pythonpaste.org/webtest/ for more information.
13 13
 
14 14
 from nose.tools import ok_
15 15
 
16
-from pboard.tests import TestController
16
+from pod.tests import TestController
17 17
 
18 18
 
19 19
 class TestRootController(TestController):

+ 3 - 3
pboard/pboard/tests/models/__init__.py View File

@@ -2,9 +2,9 @@
2 2
 """Unit test suite for the models of the application."""
3 3
 
4 4
 from nose.tools import eq_
5
-from pboard.model import DBSession
6
-from pboard.tests import load_app
7
-from pboard.tests import setup_db, teardown_db
5
+from pod.model import DBSession
6
+from pod.tests import load_app
7
+from pod.tests import setup_db, teardown_db
8 8
 
9 9
 __all__ = ['ModelTest']
10 10
 

+ 2 - 2
pboard/pboard/tests/models/test_auth.py View File

@@ -3,8 +3,8 @@
3 3
 from __future__ import unicode_literals
4 4
 from nose.tools import eq_
5 5
 
6
-from pboard import model
7
-from pboard.tests.models import ModelTest
6
+from pod import model
7
+from pod.tests.models import ModelTest
8 8
 
9 9
 class TestGroup(ModelTest):
10 10
     """Unit test case for the ``Group`` model."""

+ 3 - 3
pboard/pboard/websetup/__init__.py View File

@@ -1,9 +1,9 @@
1 1
 # -*- coding: utf-8 -*-
2
-"""Setup the pboard application"""
2
+"""Setup the pod application"""
3 3
 
4 4
 import logging
5 5
 
6
-from pboard.config.environment import load_environment
6
+from pod.config.environment import load_environment
7 7
 
8 8
 __all__ = ['setup_app']
9 9
 
@@ -13,7 +13,7 @@ from .schema import setup_schema
13 13
 from .bootstrap import bootstrap
14 14
 
15 15
 def setup_app(command, conf, vars):
16
-    """Place any commands to setup pboard here"""
16
+    """Place any commands to setup pod here"""
17 17
     load_environment(conf.global_conf, conf.local_conf)
18 18
     setup_schema(command, conf, vars)
19 19
     bootstrap(command, conf, vars)

+ 3 - 3
pboard/pboard/websetup/bootstrap.py View File

@@ -1,14 +1,14 @@
1 1
 # -*- coding: utf-8 -*-
2
-"""Setup the pboard application"""
2
+"""Setup the pod application"""
3 3
 from __future__ import print_function
4 4
 
5 5
 import logging
6 6
 from tg import config
7
-from pboard import model
7
+from pod import model
8 8
 import transaction
9 9
 
10 10
 def bootstrap(command, conf, vars):
11
-    """Place any commands to setup pboard here"""
11
+    """Place any commands to setup pod here"""
12 12
 
13 13
     # <websetup.bootstrap.before.auth
14 14
     from sqlalchemy.exc import IntegrityError

+ 3 - 3
pboard/pboard/websetup/schema.py View File

@@ -1,5 +1,5 @@
1 1
 # -*- coding: utf-8 -*-
2
-"""Setup the pboard application"""
2
+"""Setup the pod application"""
3 3
 from __future__ import print_function
4 4
 
5 5
 import logging
@@ -7,11 +7,11 @@ from tg import config
7 7
 import transaction
8 8
 
9 9
 def setup_schema(command, conf, vars):
10
-    """Place any commands to setup pboard here"""
10
+    """Place any commands to setup pod here"""
11 11
     # Load the models
12 12
 
13 13
     # <websetup.websetup.schema.before.model.import>
14
-    from pboard import model
14
+    from pod import model
15 15
     # <websetup.websetup.schema.after.model.import>
16 16
 
17 17
     

+ 15 - 15
pboard/setup.cfg View File

@@ -4,38 +4,38 @@ tag_svn_revision = true
4 4
 
5 5
 # Babel configuration
6 6
 [compile_catalog]
7
-domain = pboard
8
-directory = pboard/i18n
7
+domain = pod
8
+directory = pod/i18n
9 9
 statistics = true
10 10
 
11 11
 [extract_messages]
12 12
 add_comments = TRANSLATORS:
13
-output_file = pboard/i18n/pboard.pot
13
+output_file = pod/i18n/pod.pot
14 14
 width = 80
15 15
 keywords = l_
16 16
 
17 17
 [init_catalog]
18
-domain = pboard
19
-input_file = pboard/i18n/pboard.pot
20
-output_dir = pboard/i18n
18
+domain = pod
19
+input_file = pod/i18n/pod.pot
20
+output_dir = pod/i18n
21 21
 
22 22
 [update_catalog]
23
-domain = pboard
24
-input_file = pboard/i18n/pboard.pot
25
-output_dir = pboard/i18n
23
+domain = pod
24
+input_file = pod/i18n/pod.pot
25
+output_dir = pod/i18n
26 26
 previous = true
27 27
 
28 28
 # Static files extraction for TW
29 29
 [archive_tw_resources]
30
-output = pboard/public/toscawidgets/
31
-distributions = pboard
30
+output = pod/public/toscawidgets/
31
+distributions = pod
32 32
 #yuicompressor = /home/someuser/bin/yuicompressor.jar
33 33
 #compresslevel = 2
34 34
 onepass = true
35 35
 
36 36
 [archive_tw2_resources]
37
-output = pboard/public/tw2/
38
-distributions = pboard
37
+output = pod/public/tw2/
38
+distributions = pod
39 39
 force = true
40 40
 #yuicompressor = /home/someuser/bin/yuicompressor.jar
41 41
 #compresslevel = 2
@@ -44,6 +44,6 @@ onepass = true
44 44
 [aliases]
45 45
 # A handy alias to make a release to pypi
46 46
 release = egg_info -RDb "" sdist bdist_egg register upload
47
-pboarddevelop = develop -i http://tg.gy/221
48
-pboarddeps = easy_install -i http://tg.gy/221 AddOns BytecodeAssembler Chameleon coverage DecoratorTools Extremes Genshi Jinja2 Kajiki kid PEAK_Rules repoze.who repoze.who_friendlyform repoze.who.plugins.sa simplegeneric sprox SQLAlchemy SymbolType tgext.admin tgext.crud ToscaWidgets transaction TurboJson TurboKid tw.forms zope.interface zope.sqlalchemy
47
+poddevelop = develop -i http://tg.gy/221
48
+poddeps = easy_install -i http://tg.gy/221 AddOns BytecodeAssembler Chameleon coverage DecoratorTools Extremes Genshi Jinja2 Kajiki kid PEAK_Rules repoze.who repoze.who_friendlyform repoze.who.plugins.sa simplegeneric sprox SQLAlchemy SymbolType tgext.admin tgext.crud ToscaWidgets transaction TurboJson TurboKid tw.forms zope.interface zope.sqlalchemy
49 49
 tgupgrade = easy_install -i http://tg.gy/current -U AddOns Babel Beaker BytecodeAssembler Chameleon coverage decorator DecoratorTools Extremes Genshi Jinja2 Kajiki kid Mako MarkupSafe nose Paste PasteDeploy PasteScript PEAK_Rules Pygments Pylons repoze.who repoze.who_friendlyform repoze.who.plugins.sa simplegeneric simplejson sprox SQLAlchemy SymbolType Tempita tgext.admin tgext.crud ToscaWidgets transaction TurboJson TurboKid tw.forms WebError WebFlash WebHelpers WebOb WebTest zope.interface zope.sqlalchemy

+ 3 - 3
pboard/setup.py View File

@@ -53,17 +53,17 @@ setup(
53 53
     include_package_data=True,
54 54
     test_suite='nose.collector',
55 55
     tests_require=testpkgs,
56
-    package_data={'pboard': ['i18n/*/LC_MESSAGES/*.mo',
56
+    package_data={'pod': ['i18n/*/LC_MESSAGES/*.mo',
57 57
                                  'templates/*/*',
58 58
                                  'public/*/*']},
59
-    message_extractors={'pboard': [
59
+    message_extractors={'pod': [
60 60
             ('**.py', 'python', None),
61 61
             ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
62 62
             ('public/**', 'ignore', None)]},
63 63
 
64 64
     entry_points={
65 65
         'paste.app_factory': [
66
-            'main = pboard.config.middleware:make_app'
66
+            'main = pod.config.middleware:make_app'
67 67
         ],
68 68
         'gearbox.plugins': [
69 69
             'turbogears-devtools = tg.devtools'

+ 1 - 1
pboard/test.ini View File

@@ -1,5 +1,5 @@
1 1
 #
2
-# pboard - TurboGears 2 testing environment configuration
2
+# pod - TurboGears 2 testing environment configuration
3 3
 #
4 4
 # The %(here)s variable will be replaced with the parent directory of this file
5 5
 #