Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions standardization (admin) #687

Merged
merged 23 commits into from Jul 19, 2013
Merged

Actions standardization (admin) #687

merged 23 commits into from Jul 19, 2013

Conversation

norv
Copy link
Contributor

@norv norv commented Jul 17, 2013

This PR makes all admin actions created and routed in a similar way: using Action object.

  • added enabled/disabled and default actions to Action class.
  • I split (finally!) PackageServers from the packages main area. In fact, not only its (sub)actions, but in its own admin area. Probably two tabs will be better there (there's only the tab of the former "Download packages"). The purpose is to make more visible the package servers functionality, and to rework the package manager implementation a bit more into smaller, focused, functions/methods.

Update:

  • added a second tab to Package Servers admin area, with the upload form (upload of packages from user's computer to their server).
  • split a few templates too norv@c146fc8#L2R30

norv added 23 commits July 17, 2013 07:13
This is simply a level of indirection, when the work is all done in
action_features; core features is a form which accepts user input
to switch on/off. If/when we split the user input handling from the
rest of action_features(), we might have a benefit. Now it's just
a matter of standardization attempt: action_index() directs to stuff,
doesn't process usually.

Signed-off-by: Norv <a.w.norv@gmail.com>
Add an activity for viewfile in ManageErrors.

Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
…default.

Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
Added another method to Action, to tackle the 'real' sa
which will be set. Not ideal..

Signed-off-by: Norv <a.w.norv@gmail.com>
… line.

Signed-off-by: Norv <a.w.norv@gmail.com>
(prepare for a PackageServers area)

Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
We will need it again if we make two or more tabs for which we want it.
Document the code.

Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
…he area.

Signed-off-by: Norv <a.w.norv@gmail.com>
Signed-off-by: Norv <a.w.norv@gmail.com>
norv added a commit that referenced this pull request Jul 19, 2013
Actions standardization (admin)
@norv norv merged commit 26203d9 into elkarte:master Jul 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant