Browse Source

rename pboard module to pod

Damien Accorsi 11 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
-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
-This file is for you to describe the pboard application. Typically
1
+This file is for you to describe the pod application. Typically
2
 you would include information such as the information below:
2
 you would include information such as the information below:
3
 
3
 
4
 Installation and Setup
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
     $ python setup.py develop
10
     $ python setup.py develop
11
 
11
 
12
 Create the project database for any model classes defined::
12
 Create the project database for any model classes defined::

+ 1 - 1
pboard/app.wsgi View File

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
 #Setup logging
3
 #Setup logging
4
 import logging
4
 import logging

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

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

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

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

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

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

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

1
 # -*- coding: utf-8 -*-
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
 This file complements development/deployment.ini.
5
 This file complements development/deployment.ini.
6
 
6
 
15
 
15
 
16
 from tg.configuration import AppConfig
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
 base_config = AppConfig()
22
 base_config = AppConfig()
23
 base_config.renderers = []
23
 base_config.renderers = []
24
 base_config.use_toscawidgets = False
24
 base_config.use_toscawidgets = False
25
 base_config.use_toscawidgets2 = True
25
 base_config.use_toscawidgets2 = True
26
 
26
 
27
-base_config.package = pboard
27
+base_config.package = pod
28
 
28
 
29
 #Enable json in expose
29
 #Enable json in expose
30
 base_config.renderers.append('json')
30
 base_config.renderers.append('json')
37
 base_config.renderers.append('mako')
37
 base_config.renderers.append('mako')
38
 #Configure the base SQLALchemy Setup
38
 #Configure the base SQLALchemy Setup
39
 base_config.use_sqlalchemy = True
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
 # Configure the authentication backend
42
 # Configure the authentication backend
43
 
43
 
44
 # YOU MUST CHANGE THIS VALUE IN PRODUCTION TO SECURE YOUR APP 
44
 # YOU MUST CHANGE THIS VALUE IN PRODUCTION TO SECURE YOUR APP 

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

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

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

1
 # -*- coding: utf-8 -*-
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
 __all__ = ['load_environment']
6
 __all__ = ['load_environment']
7
 
7
 

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

1
 # -*- coding: utf-8 -*-
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
 __all__ = ['make_app']
8
 __all__ = ['make_app']
14
 
14
 
15
 def make_app(global_conf, full_stack=True, **app_conf):
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
     file used.
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
         defined under the ``[DEFAULT]`` section).
21
         defined under the ``[DEFAULT]`` section).
22
     :type global_conf: dict
22
     :type global_conf: dict
23
     :param full_stack: Should the whole TG2 stack be set up?
23
     :param full_stack: Should the whole TG2 stack be set up?
24
     :type full_stack: str or bool
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
         loaded.
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
     ``app_conf`` contains all the application-specific settings (those defined
30
     ``app_conf`` contains all the application-specific settings (those defined
31
     under ``[app:main]``.
31
     under ``[app:main]``.

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

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

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

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

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

20
 
20
 
21
 from tg.i18n import ugettext as _, lazy_ugettext as l_
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
 FIXME_ERROR_CODE=-1
34
 FIXME_ERROR_CODE=-1

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

2
 
2
 
3
 import tg
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
 class PODApiMenuController(plb.BaseController):
10
 class PODApiMenuController(plb.BaseController):
11
 
11
 

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

4
 import repoze.who.api
4
 import repoze.who.api
5
 
5
 
6
 from tg import _compat
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
 from tg.i18n import ugettext as _
13
 from tg.i18n import ugettext as _
14
 
14
 

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

9
 #from tg import predicates
9
 #from tg import predicates
10
 
10
 
11
 # project specific imports
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
 class SampleController(BaseController):
16
 class SampleController(BaseController):
17
     #Uncomment this line if your controller requires an authenticated user
17
     #Uncomment this line if your controller requires an authenticated user
18
     #allow_only = predicates.not_anonymous()
18
     #allow_only = predicates.not_anonymous()
19
     
19
     
20
-    @expose('pboard.templates.index')
20
+    @expose('pod.templates.index')
21
     def index(self):
21
     def index(self):
22
         return dict(page='index')
22
         return dict(page='index')

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

4
 from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context
4
 from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context
5
 from tg.i18n import ugettext as _, lazy_ugettext as l_
5
 from tg.i18n import ugettext as _, lazy_ugettext as l_
6
 from tg import predicates
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
 __all__ = ['DebugController']
21
 __all__ = ['DebugController']
22
 
22
 
26
   # allow_only = predicates.in_group('admin',
26
   # allow_only = predicates.in_group('admin',
27
   #                            msg=l_('You\'re not allowed to access this page'))
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
   def iconset(self, **kw):
30
   def iconset(self, **kw):
31
     """This method showcases how you can use the same controller for a data page and a display page"""
31
     """This method showcases how you can use the same controller for a data page and a display page"""
32
     return dict()
32
     return dict()
33
 
33
 
34
 
34
 
35
-  @expose('pboard.templates.debug.environ')
35
+  @expose('pod.templates.debug.environ')
36
   def environ(self, **kw):
36
   def environ(self, **kw):
37
     """This method showcases TG's access to the wsgi environment."""
37
     """This method showcases TG's access to the wsgi environment."""
38
     return dict(environment=request.environ)
38
     return dict(environment=request.environ)
39
 
39
 
40
 
40
 
41
-  @expose('pboard.templates.debug.identity')
41
+  @expose('pod.templates.debug.identity')
42
   def identity(self, **kw):
42
   def identity(self, **kw):
43
     """This method showcases TG's access to the wsgi environment."""
43
     """This method showcases TG's access to the wsgi environment."""
44
     return dict(identity=request.identity)
44
     return dict(identity=request.identity)

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

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

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

1
 # -*- coding: utf-8 -*-
1
 # -*- coding: utf-8 -*-
2
 """Main Controller"""
2
 """Main Controller"""
3
-import pboard
3
+import pod
4
 
4
 
5
 import tg
5
 import tg
6
 from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context
6
 from tg import expose, flash, require, url, lurl, request, redirect, tmpl_context
7
 from tg.i18n import ugettext as _, lazy_ugettext as l_
7
 from tg.i18n import ugettext as _, lazy_ugettext as l_
8
 from tg import predicates
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
 __all__ = ['RootController']
25
 __all__ = ['RootController']
26
 
26
 
32
 
32
 
33
 class RootController(BaseController):
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
     All the other controllers and WSGI applications should be mounted on this
37
     All the other controllers and WSGI applications should be mounted on this
38
     controller. For example::
38
     controller. For example::
54
     public_api = pcap.PODPublicApiController()
54
     public_api = pcap.PODPublicApiController()
55
 
55
 
56
     def _before(self, *args, **kw):
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
     def index(self):
60
     def index(self):
61
         """Handle the front-page."""
61
         """Handle the front-page."""
62
         return dict()
62
         return dict()
63
 
63
 
64
 
64
 
65
-    @expose('pboard.templates.about')
65
+    @expose('pod.templates.about')
66
     def about(self):
66
     def about(self):
67
         """Handle the about-page."""
67
         """Handle the about-page."""
68
         return dict()
68
         return dict()
69
 
69
 
70
 
70
 
71
-    @expose('pboard.templates.login')
71
+    @expose('pod.templates.login')
72
     def login(self, came_from=lurl('/')):
72
     def login(self, came_from=lurl('/')):
73
         """Start the user login."""
73
         """Start the user login."""
74
         login_counter = request.environ.get('repoze.who.logins', 0)
74
         login_counter = request.environ.get('repoze.who.logins', 0)
102
         flash(_('We hope to see you soon!'))
102
         flash(_('We hope to see you soon!'))
103
         redirect(came_from)
103
         redirect(came_from)
104
         
104
         
105
-    @expose('pboard.templates.dashboard')
105
+    @expose('pod.templates.dashboard')
106
     @require(predicates.in_group('user', msg=l_('Please login to access this page')))
106
     @require(predicates.in_group('user', msg=l_('Please login to access this page')))
107
     def dashboard(self):
107
     def dashboard(self):
108
         loCurrentUser   = pld.PODStaticController.getCurrentUser()
108
         loCurrentUser   = pld.PODStaticController.getCurrentUser()
114
         return dict(last_modified_nodes=loLastModifiedNodes, whats_hot_nodes=loWhatsHotNodes, action_to_do_nodes = loActionToDoNodes)
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
     #@require(predicates.in_group('user', msg=l_('Please login to access this page')))
118
     #@require(predicates.in_group('user', msg=l_('Please login to access this page')))
119
     @require(can_read())
119
     @require(can_read())
120
     def document(self, node_id=0, version=0, came_from=lurl('/'), highlight=''):
120
     def document(self, node_id=0, version=0, came_from=lurl('/'), highlight=''):
161
             current_user_rights = current_user_rights
161
             current_user_rights = current_user_rights
162
         )
162
         )
163
 
163
 
164
-    @expose('pboard.templates.search')
164
+    @expose('pod.templates.search')
165
     @require(predicates.in_group('user', msg=l_('Please login to access this page')))
165
     @require(predicates.in_group('user', msg=l_('Please login to access this page')))
166
     def search(self, keywords=''):
166
     def search(self, keywords=''):
167
         loCurrentUser   = pld.PODStaticController.getCurrentUser()
167
         loCurrentUser   = pld.PODStaticController.getCurrentUser()
171
 
171
 
172
         return dict(search_string=keywords, found_nodes=loFoundNodes)
172
         return dict(search_string=keywords, found_nodes=loFoundNodes)
173
 
173
 
174
-    @expose('pboard.templates.create_account')
174
+    @expose('pod.templates.create_account')
175
     def create_account(self):
175
     def create_account(self):
176
         return dict()
176
         return dict()
177
 
177
 

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

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

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

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

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

1
 # -*- coding: utf-8 -*-
1
 # -*- coding: utf-8 -*-
2
 """Predicates for authorizations"""
2
 """Predicates for authorizations"""
3
 from tg.predicates import Predicate
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
 import logging as l
6
 import logging as l
7
 
7
 
8
 DIRTY_canReadOrCanWriteSqlQuery = """
8
 DIRTY_canReadOrCanWriteSqlQuery = """

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

12
 import sqlalchemy.orm as sqlao
12
 import sqlalchemy.orm as sqlao
13
 import sqlalchemy as sqla
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
 import tg
19
 import tg
20
 
20
 

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

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

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

59
     #mapper(Reflected, t_reflected)
59
     #mapper(Reflected, t_reflected)
60
 
60
 
61
 # Import your model modules here.
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
 
4
 
5
 This is where the models used by the authentication stack are defined.
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
 though.
8
 though.
9
 
9
 
10
 """
10
 """
19
 from sqlalchemy.types import Unicode, Integer, DateTime, Boolean
19
 from sqlalchemy.types import Unicode, Integer, DateTime, Boolean
20
 from sqlalchemy.orm import relation, relationship, synonym
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
 # This is the association table for the many-to-many relationship between
24
 # This is the association table for the many-to-many relationship between
25
 # groups and permissions.
25
 # groups and permissions.

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

21
 from tg.i18n import ugettext as _, lazy_ugettext as l_
21
 from tg.i18n import ugettext as _, lazy_ugettext as l_
22
 
22
 
23
 import tg
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
 class PBNodeStatusItem(object):
29
 class PBNodeStatusItem(object):

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

7
 from sqlalchemy.types import Integer, Unicode
7
 from sqlalchemy.types import Integer, Unicode
8
 #from sqlalchemy.orm import relation, backref
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
 class SampleModel(DeclarativeBase):
13
 class SampleModel(DeclarativeBase):

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

1
 # -*- coding: utf-8 -*-
1
 # -*- coding: utf-8 -*-
2
 import tg
2
 import tg
3
-from pboard.model import data as pmd
3
+from pod.model import data as pmd
4
 
4
 
5
 def node_to_dict(node: pmd.PBNode, children_content, new_item_state):
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
 <%inherit file="local:templates.master"/>
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
 <%def name="title()">
4
 <%def name="title()">
5
   pod :: take notes, list tasks, write documents, manage projects
5
   pod :: take notes, list tasks, write documents, manage projects

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

1
 <%inherit file="local:templates.master"/>
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
 <%def name="title()">
4
 <%def name="title()">
5
   pod :: ${_('Create account')}
5
   pod :: ${_('Create account')}

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

1
 <%inherit file="local:templates.master"/>
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
 <%def name="title()">
4
 <%def name="title()">
5
 pod :: your dashboard
5
 pod :: your dashboard

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

1
 <%inherit file="local:templates.master"/>
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
 <%def name="HistoryTabContent(poNode)">
4
 <%def name="HistoryTabContent(poNode)">
5
   <h4>${_('Revisions')}</h4>
5
   <h4>${_('Revisions')}</h4>

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

1
 <%inherit file="local:templates.master"/>
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
 <%def name="node_treeview_for_set_parent_menu(node_id, node_list, indentation=-1)">
5
 <%def name="node_treeview_for_set_parent_menu(node_id, node_list, indentation=-1)">
6
   % if indentation==-1:
6
   % if indentation==-1:

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

1
 <%inherit file="local:templates.master"/>
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
 <%def name="title()">
6
 <%def name="title()">
7
   % if current_node!=None:
7
   % if current_node!=None:

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

1
 <%inherit file="local:templates.master"/>
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
 <%def name="title()">
4
 <%def name="title()">
5
   pod :: take notes, list tasks, write documents, manage projects blabla
5
   pod :: take notes, list tasks, write documents, manage projects blabla

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

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

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

1
 <%inherit file="local:templates.master"/>
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
 <%def name="title()">
4
 <%def name="title()">
5
 pod :: your dashboard
5
 pod :: your dashboard

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

1
 # -*- coding: utf-8 -*-
1
 # -*- coding: utf-8 -*-
2
-"""Unit and functional test suite for pboard."""
2
+"""Unit and functional test suite for pod."""
3
 
3
 
4
 from os import getcwd, path
4
 from os import getcwd, path
5
 
5
 
10
 from tg import config
10
 from tg import config
11
 from tg.util import Bunch
11
 from tg.util import Bunch
12
 
12
 
13
-from pboard import model
13
+from pod import model
14
 
14
 
15
 __all__ = ['setup_app', 'setup_db', 'teardown_db', 'TestController']
15
 __all__ = ['setup_app', 'setup_db', 'teardown_db', 'TestController']
16
 
16
 
43
 class TestController(object):
43
 class TestController(object):
44
     """Base functional test case for the controllers.
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
     case (and descendants) has authentication disabled, so that developers can
47
     case (and descendants) has authentication disabled, so that developers can
48
     test the protected areas independently of the :mod:`repoze.who` plugins
48
     test the protected areas independently of the :mod:`repoze.who` plugins
49
     used initially. This way, authentication can be tested once and separately.
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
     integration tests.
52
     integration tests.
53
 
53
 
54
     This is the officially supported way to test protected areas with
54
     This is the officially supported way to test protected areas with

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

2
 """
2
 """
3
 Integration tests for the :mod:`repoze.who`-powered authentication sub-system.
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
 should be updated.
6
 should be updated.
7
 
7
 
8
 """
8
 """
10
 
10
 
11
 from nose.tools import eq_, ok_
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
 class TestAuthentication(TestController):
16
 class TestAuthentication(TestController):

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

13
 
13
 
14
 from nose.tools import ok_
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
 class TestRootController(TestController):
19
 class TestRootController(TestController):

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

2
 """Unit test suite for the models of the application."""
2
 """Unit test suite for the models of the application."""
3
 
3
 
4
 from nose.tools import eq_
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
 __all__ = ['ModelTest']
9
 __all__ = ['ModelTest']
10
 
10
 

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

3
 from __future__ import unicode_literals
3
 from __future__ import unicode_literals
4
 from nose.tools import eq_
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
 class TestGroup(ModelTest):
9
 class TestGroup(ModelTest):
10
     """Unit test case for the ``Group`` model."""
10
     """Unit test case for the ``Group`` model."""

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

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

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

1
 # -*- coding: utf-8 -*-
1
 # -*- coding: utf-8 -*-
2
-"""Setup the pboard application"""
2
+"""Setup the pod application"""
3
 from __future__ import print_function
3
 from __future__ import print_function
4
 
4
 
5
 import logging
5
 import logging
6
 from tg import config
6
 from tg import config
7
-from pboard import model
7
+from pod import model
8
 import transaction
8
 import transaction
9
 
9
 
10
 def bootstrap(command, conf, vars):
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
     # <websetup.bootstrap.before.auth
13
     # <websetup.bootstrap.before.auth
14
     from sqlalchemy.exc import IntegrityError
14
     from sqlalchemy.exc import IntegrityError

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

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

+ 15 - 15
pboard/setup.cfg View File

4
 
4
 
5
 # Babel configuration
5
 # Babel configuration
6
 [compile_catalog]
6
 [compile_catalog]
7
-domain = pboard
8
-directory = pboard/i18n
7
+domain = pod
8
+directory = pod/i18n
9
 statistics = true
9
 statistics = true
10
 
10
 
11
 [extract_messages]
11
 [extract_messages]
12
 add_comments = TRANSLATORS:
12
 add_comments = TRANSLATORS:
13
-output_file = pboard/i18n/pboard.pot
13
+output_file = pod/i18n/pod.pot
14
 width = 80
14
 width = 80
15
 keywords = l_
15
 keywords = l_
16
 
16
 
17
 [init_catalog]
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
 [update_catalog]
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
 previous = true
26
 previous = true
27
 
27
 
28
 # Static files extraction for TW
28
 # Static files extraction for TW
29
 [archive_tw_resources]
29
 [archive_tw_resources]
30
-output = pboard/public/toscawidgets/
31
-distributions = pboard
30
+output = pod/public/toscawidgets/
31
+distributions = pod
32
 #yuicompressor = /home/someuser/bin/yuicompressor.jar
32
 #yuicompressor = /home/someuser/bin/yuicompressor.jar
33
 #compresslevel = 2
33
 #compresslevel = 2
34
 onepass = true
34
 onepass = true
35
 
35
 
36
 [archive_tw2_resources]
36
 [archive_tw2_resources]
37
-output = pboard/public/tw2/
38
-distributions = pboard
37
+output = pod/public/tw2/
38
+distributions = pod
39
 force = true
39
 force = true
40
 #yuicompressor = /home/someuser/bin/yuicompressor.jar
40
 #yuicompressor = /home/someuser/bin/yuicompressor.jar
41
 #compresslevel = 2
41
 #compresslevel = 2
44
 [aliases]
44
 [aliases]
45
 # A handy alias to make a release to pypi
45
 # A handy alias to make a release to pypi
46
 release = egg_info -RDb "" sdist bdist_egg register upload
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
 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
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
     include_package_data=True,
53
     include_package_data=True,
54
     test_suite='nose.collector',
54
     test_suite='nose.collector',
55
     tests_require=testpkgs,
55
     tests_require=testpkgs,
56
-    package_data={'pboard': ['i18n/*/LC_MESSAGES/*.mo',
56
+    package_data={'pod': ['i18n/*/LC_MESSAGES/*.mo',
57
                                  'templates/*/*',
57
                                  'templates/*/*',
58
                                  'public/*/*']},
58
                                  'public/*/*']},
59
-    message_extractors={'pboard': [
59
+    message_extractors={'pod': [
60
             ('**.py', 'python', None),
60
             ('**.py', 'python', None),
61
             ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
61
             ('templates/**.mak', 'mako', {'input_encoding': 'utf-8'}),
62
             ('public/**', 'ignore', None)]},
62
             ('public/**', 'ignore', None)]},
63
 
63
 
64
     entry_points={
64
     entry_points={
65
         'paste.app_factory': [
65
         'paste.app_factory': [
66
-            'main = pboard.config.middleware:make_app'
66
+            'main = pod.config.middleware:make_app'
67
         ],
67
         ],
68
         'gearbox.plugins': [
68
         'gearbox.plugins': [
69
             'turbogears-devtools = tg.devtools'
69
             'turbogears-devtools = tg.devtools'

+ 1 - 1
pboard/test.ini View File

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