Commit Graph

1646 Commits

Author SHA1 Message Date
Adolfo Gómez
735175badb * Fixed admin memory leak due to TableTools (fixed on section change in fact, removing all TableTools internal data)
* Fixed a bug with transactions on UserServiceManager
Now admin seems to work with stable memory... :-)
2013-12-06 18:45:36 +00:00
Adolfo Gómez
e071a1afbc Advancing on test buttons 2013-12-06 03:23:08 +00:00
Adolfo Gómez
c29e2d4dcb Adding the posibility to include custom buttons on modal footers, so we can for example add "test" buttons wherever they are needed 2013-12-05 05:34:35 +00:00
Adolfo Gómez
f5e5d88973 Improved js memory usage by deleting all datatables keep info on "page change" inside dashboard. This is not really necesary, because we have a limited number of different tables, but if we cleans up, memory comsumption will be lowered 2013-12-04 05:00:38 +00:00
Adolfo Gómez
64382b5afe * Added cache flush functionality to dashboard
* added rest method to flush cache
* Fixed tabletools "stuff" left behind, removing all this on any "main link" click
2013-12-04 04:12:06 +00:00
Adolfo Gómez
732840df42 Added choices & multichoices 2013-12-04 03:03:07 +00:00
Adolfo Gómez
61c9f4f975 Implemented callbacks for gui "fillers", that is, choices that calls server for information about how to fill other fields with returned values... 2013-12-04 01:57:33 +00:00
Adolfo Gómez
36bdbbfd37 * Added a few more tables to innodb, that will not impact access to platform 2013-12-03 18:17:03 +00:00
Adolfo Gómez
a6b3462748 * Fixed a bug with new transactions
* Added a few tables to innodb model
2013-12-03 18:12:49 +00:00
Adolfo Gómez
dcfee55122 * Editlist control finished
* fixed REST service put method
2013-12-03 04:26:23 +00:00
Adolfo Gómez
3c7a0b82d7 Updated DinamycFieldsManager to get new "EditList" format (as simple list)
Updated to be version 1.4

There is intention to remove this administration client once the Web admin interface is finished & usable. Probable, half of 2013 this admin interface will be removed and will only keep the "Web version"
2013-12-02 18:21:40 +00:00
Adolfo Gómez
ad69d8fa6c * Fixed a bug that makes all Instances of a specific "UserInterface" to share same "instance fields". This could be a problem if two access are done simultaneously (for example, 2 services of same type, or two authenticators of same class). Now every new "object" has its own UserInterface objects
* Changed the way the "EditList" are returned, now they are "lists", not "choices"

As always, a bit of refactoring
2013-12-02 18:01:12 +00:00
Adolfo Gómez
3ec517c90f 2013-12-02 15:17:01 +00:00
Adolfo Gómez
888f125dc6 Finished based model/detail methods 2013-12-02 03:43:17 +00:00
Adolfo Gómez
043b28cfb4 Advancing on table/model editing
More refactoring of code
2013-11-29 00:55:04 +00:00
Adolfo Gómez
c98e964bba Refactorized REST api (server) to be much more "coherent". URLs are much more coherent, we have fewer handlers to implement on models, fixed to register correctly methods, even when deriving from Handler, etc...
This gives better options to implement handlers based on models also
2013-11-28 11:55:40 +00:00
Adolfo Gómez
7ea7086ba9 * Implemented services REST part
* Added possibility of creating own types for DetailApi (useful for provicers/services, where services is a detail but also has types)
More refactoring
2013-11-27 11:14:53 +00:00
Adolfo Gómez
d46400c1f7 Done multi tab forms
Advancing on Transport new/edit (this & network will server as base for other tabs)
2013-11-27 00:41:03 +00:00
Adolfo Gómez
fa2335efd4 * Finished create/edit methods
* Added delete method
* a little more refactoring ( ofc :-) )
Need to debug a bit more this, and probably make some adaptions for models that do not serializes objects
2013-11-26 03:42:46 +00:00
Adolfo Gómez
63da672f30 * Adapted transactions on db to new django 1.6 model, much more versatile.
Removed all "autocommit, commit_on_success and commit_manually", and replaced with "transaction.atomic" calls. Of course, with code refinement in some parts to adapt to this new situation

* Added Changing Some table types from MyISAM to Mysql after migrations are done ALWAYS. This is not too slow, and will ensure that the database supports transactions where they are needed
2013-11-25 17:34:13 +00:00
Adolfo Gómez
8c04c88d86 A bit of refactoring with api, gui, etc...
solved some problems with PUT methods (need to solve a few ones anyway)
Create authenticator now works, but needs more elaboration
lots of changes i event remember.. :-)
2013-11-25 03:01:58 +00:00
Adolfo Gómez
a52e8dc548 * Added form validations (more work will be needed probably for numerics for example) 2013-11-23 22:39:07 +00:00
Adolfo Gómez
b7bfecf87c * Fixed Datatables tools width
* Refactoring of API (again...)
2013-11-22 11:33:54 +00:00
Adolfo Gómez
ceecb0823d Fixed read only "generic model editing" properties.
Also forgot in previous commits, i changed the template engine to Handlebars. Its much "versatile", and we need a bit of flexibility (such as conditionals, loops, etc...)
2013-11-22 02:33:06 +00:00
Adolfo Gómez
de4a9ff291 Advanced a lot with "generic model editing" 2013-11-22 02:22:41 +00:00
Adolfo Gómez
004e060aaf * Added modal to gui
* Advanced a bit with edition of components
2013-11-21 13:19:13 +00:00
Adolfo Gómez
127c36f364 * Added template "preload" ability
* Added caching templates as "compiled" templates
* moved table description panel to template
2013-11-21 11:01:30 +00:00
Adolfo Gómez
dbd4531376 Better pannels 2013-11-21 02:22:41 +00:00
Adolfo Gómez
17b20ab684 A cuople more fixes && refactoring 2013-11-20 11:31:23 +00:00
Adolfo Gómez
4b2eae58b1 Added gui basic elements
refactoring of existint javascript
translations of buttons moved to better place
added css class that will made button text dissapear for smaller displays
2013-11-20 11:09:30 +00:00
Adolfo Gómez
6144eb2f6a Fixing some js, started form renterer 2013-11-20 09:14:27 +00:00
Adolfo Gómez
2bf0c3e59a * Fixed a bunch of javascript things
* Added "gui" method to api, so we can get a description of what fields are needed for an specific item.
Added REST capacity to process gui requests
Updated translations
2013-11-20 03:16:56 +00:00
Adolfo Gómez
805b225552 I had 3d buttons not working (clicks events not fired). After a while of looking for why, i realized that in fact the button was moving, and the event was not fired sometimes for this reason.
So i have created a little "fix" on tools.js, where we use mousedown && mouse up events (on button & parent) to "simulate" a click over an static button.

Also, i have included a way of blocking UI (using jquery.blockUI plugin), so user know when something is going on.. 

hard work resolving the 3d buttons "bug" :-)
2013-11-19 11:26:27 +00:00
Adolfo Gómez
dbb4466c46 Advancing, but have a few probles with "cool 3d buttons". When pressed, many times click event seems not to be fired... O.o 2013-11-19 01:27:47 +00:00
Adolfo Gómez
67a691768e added "cute" 3d buttons :-) 2013-11-18 02:54:05 +00:00
Adolfo Gómez
96937a397c added xls, but i'm going to evolve it fast 2013-11-17 22:48:34 +00:00
Adolfo Gómez
47be643eac * Added responsive tables to admin
* Added language selection over REST API
* Added "renderers" so we can add icons or whatever to cells before rendering
* Lots of improvements
2013-11-17 03:48:05 +00:00
Adolfo Gómez
6bb538d941 * Finished (almost) details of master tables
* Added templating engine based on John Resig - http://ejohn.org/,
* Added capacity to scroll to make tables visible
* Added users detail view for authenticators
* added server template serving
2013-11-15 23:45:05 +00:00
Adolfo Gómez
d2cf0f6846 2013-11-15 21:14:46 +00:00
Adolfo Gómez
2615b5fca4 Added "details" to REST for children of certain elements (such as authenticators-->users, user services --> publications, cache, assignations, groups, transports, etc... 2013-11-15 16:04:51 +00:00
Adolfo Gómez
bf83de2f5e * Web Admin work
* Improved visualization & use of Generic Table for data visualization
2013-11-15 14:02:53 +00:00
Adolfo Gómez
e59ac8078d 2013-11-15 10:33:51 +00:00
Adolfo Gómez
caf250daa3 2013-11-15 10:33:21 +00:00
Adolfo Gómez
841580afda 2013-11-15 10:32:49 +00:00
Adolfo Gómez
0a0772a7c6 Advancing admin (in fact already playing around with components, but made some advances.. :-) ) 2013-11-14 17:02:30 +00:00
Adolfo Gómez
d68822eaf7 Advancing with very basic aspects of administration/REST api 2013-11-14 11:17:07 +00:00
Adolfo Gómez
6e0511add3 Updated checkbrowser to recognize ie, new ie (11), opera, safari, firefox & webkit based browsers 2013-11-13 22:52:14 +00:00
Adolfo Gómez
ae9f3c7e78 Some translations, and javascript catalog fixed so it gets correctly generated on each lang (and do not caches it) 2013-11-13 19:00:19 +00:00
Adolfo Gómez
89d27cbcd5 Playing around with administration interface, selecting components that seems to match what i'm looking for... :-) 2013-11-13 17:21:48 +00:00
Adolfo Gómez
59e9f65241 2013-11-12 01:10:03 +00:00