Menu

/trunk/gui/freeadmin/views.py Commit Log


Commit Date  
[r8606] (25.6 kB) by zippybr

several changes to the treemenu so we can support hook of plugin items

- change attribute of url path to pen from "view" to "url"
- change the gname attribute so it is autogenerated from the position of the tree
- e.g. UPS node under Services is called "services.UPS"
- add a simple method to catch new items from an url (plugin)
- the url must return a JSON array containing nodes for the tree
- the node can be appended anywhere in the tree:
- e.g. "append_to": "services.Rsync.RsyncMod" will append it to Rsync Modules node
- split auto_generate in two
- prepare_modelforms go through all the models and find all related modelforms
- generate actually generate the menu structures to dump as JSON later on

2011-11-08 18:01:12 View
Download
[r8578] (25.6 kB) by zippybr

fix bug on reporting errors related to the whole form

2011-11-04 10:58:13 View
Download
[r8561] (24.9 kB) by zippybr

changes to allow ajax form validation with formsets as well

2011-11-03 13:22:41 View
Download
[r8550] (24.5 kB) by zippybr

use new ajax api to generic model edit and add

2011-11-02 15:56:33 View
Download
[r8536] (24.0 kB) by zippybr

new prototype for ajax api

2011-11-01 16:35:23 View
Download
[r8423] (22.1 kB) by zippybr

Merge branch 'gitvolumes'

The time has come!
We still need to test upgrades from previous trunk, probably a few minor tweaks are to come

Conflicts:
gui/account/forms.py
gui/middleware/notifier.py
gui/services/forms.py
gui/storage/evilhack.py
gui/storage/urls.py
gui/templates/storage/dataset_confirm_delete.html
gui/templates/storage/dataset_edit.html
gui/templates/storage/datasets.html
gui/templates/storage/disk_detach.html
gui/templates/storage/geom_disk_replace.html
gui/templates/storage/permission.html
gui/templates/storage/scrub_confirm.html
gui/templates/storage/volumes.html
gui/templates/storage/zpool_status.html
gui/templates/storage/zvols.html
nanobsd/Files/usr/local/bin/custom-upssched-cmd
nanobsd/common

2011-10-25 18:18:42 View
Download
[r7891] (22.1 kB) by zippybr

drop HttpResponse + simplejsons in order to use JsonResponse

2011-09-21 14:44:30 View
Download
[r7865] (22.2 kB) by zippybr

it doesn't really make sense to do not generate menu on every request, disable it for now

2011-09-20 16:06:02 View
Download
[r7818] (22.1 kB) by yaberauneya

Build system, branding, and image size enhancements.

Overall:

- Use variables instead of hardcoded and relative path based assumptions.
- Change branding from FreeNAS to a (largely) build driven variable name to simplify muxing between FreeNAS and TrueNAS.
- Rename /etc/version.freenas to /etc/version .
- Change the version info to <sw-name>-<version>-<revision>-<arch>, e.g.
FreeNAS-8.1-r7817-amd64 .

build/do_build.sh:

- Simplify arguments for forcing builds again to -f (no args), based on feedback from jpaetzel.
- Use variables as necessary.
- Add alpha support for unionfs based builds. This doesn't work with UFS SU+J on 9.0-BETA1+, so caveat emptor.

build/functions.sh:

- Consolidate build-related functions into a single file for simplicity.

build/nano_env:

- Add a file which contains the master info for how a build is performed.

gui/...:

- Chase the changes done above, but try to simplify / improve how things are done, emitting more diagnostic info than before.

nanobsd/common:

1. Allow the end user to specify the number of CPUS in the environment if they want, instead of hardcoding $CPUS + 1.
2. Nuke .pyc files. They're created automatically by They'll get regenerated on the fly once they're read in again by the interpreter.
3. Nuke the headers (minus the pyconfig.h -- it's required at runtime) since we're not compiling binaries (cc, etc isn't included in the final image).
4. Nuke all of perl the right way if $DEBUG == 1.

Misc:
nanobsd/freenas-common:

- Start features based build tunables for

2011-09-19 00:25:06 View
Download
[r7664] (22.2 kB) by zippybr

let generic_model_add handle done() mf method with events as well

2011-09-12 12:48:25 View
Download
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.