mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
Moved privilegedactions to the actions directory.
This commit is contained in:
parent
025c2aebc1
commit
4d529b7585
@ -3,7 +3,7 @@ from gettext import gettext as _
|
|||||||
from modules.auth import require
|
from modules.auth import require
|
||||||
from plugin_mount import PagePlugin
|
from plugin_mount import PagePlugin
|
||||||
from forms import Form
|
from forms import Form
|
||||||
from privilegedactions import privilegedaction_run
|
from actions.privilegedactions import privilegedaction_run
|
||||||
import cfg
|
import cfg
|
||||||
|
|
||||||
class Apps(PagePlugin):
|
class Apps(PagePlugin):
|
||||||
@ -35,7 +35,7 @@ class Apps(PagePlugin):
|
|||||||
digital property you have, so why trust it to companies that have no
|
digital property you have, so why trust it to companies that have no
|
||||||
investment in the sentimental value of your family snaps? Keep those
|
investment in the sentimental value of your family snaps? Keep those
|
||||||
photos local, backed up, easily accessed and free from the whims of
|
photos local, backed up, easily accessed and free from the whims of
|
||||||
some other websites business model.</p>
|
some other website's business model.</p>
|
||||||
""")
|
""")
|
||||||
|
|
||||||
@cherrypy.expose
|
@cherrypy.expose
|
||||||
|
|||||||
@ -4,7 +4,7 @@ from modules.auth import require
|
|||||||
from plugin_mount import PagePlugin, FormPlugin
|
from plugin_mount import PagePlugin, FormPlugin
|
||||||
import cfg
|
import cfg
|
||||||
from forms import Form
|
from forms import Form
|
||||||
from privilegedactions import privilegedaction_run
|
from actions.privilegedactions import privilegedaction_run
|
||||||
from util import Message
|
from util import Message
|
||||||
|
|
||||||
class xmpp(PagePlugin):
|
class xmpp(PagePlugin):
|
||||||
|
|||||||
@ -9,8 +9,9 @@ from gettext import gettext as _
|
|||||||
from filedict import FileDict
|
from filedict import FileDict
|
||||||
from modules.auth import require
|
from modules.auth import require
|
||||||
from plugin_mount import PagePlugin, FormPlugin
|
from plugin_mount import PagePlugin, FormPlugin
|
||||||
from privilegedactions import privilegedaction_run
|
from actions.privilegedactions import privilegedaction_run
|
||||||
import cfg
|
import cfg
|
||||||
|
import re
|
||||||
from forms import Form
|
from forms import Form
|
||||||
from model import User
|
from model import User
|
||||||
from util import *
|
from util import *
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user