Commit Graph

19 Commits

Author SHA1 Message Date
santimunin ca415287d9 2012-08-01 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java: Changed some buttons.
	* res/layout/options.xml,
	  res/layout/main.xml: UI changes.
	* res/values/strings.xml: Entry changed.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-01 10:16:12 +00:00
santimunin 184acd0c5d 2012-07-13 Santiago Munín <burning1@gmail.com>
* ChangeLog: Fixed a line.
	* src/pandroid_event_viewer/pandorafms/Main.java: Fixed a bug. Default profile can't be deleted.
	* res/layout/main.xml,
	  res/layout/item_list_event_layout.xml,
	  res/layout/about.xml,
	  res/layout/item_list_event_extended.xml,
	  res/layout/options.xml,
	  res/values/styles.xml: UI improvements.
	* res/values/strings.xml


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-12 22:07:02 +00:00
santimunin 60922ba366 2012-07-10 Santiago Munín <burning1@gmail.com>
* res/layout/item_list_incident_layout.xml: Deleted file, no longer needed.
	* res/layout/main.xml: Little changes.
	* src/pandroid_event_viewer/pandorafms/EventList.java: Removed some commented lines.
	* src/pandroid_event_viewer/pandorafms/Core.java: Set HTTP request timeout.
	* src/pandroid_event_viewer/pandorafms/Main.java: Set default profile.
	* src/pandroid_event_viewer/pandorafms/OnBootLoader.java,
	  src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java.
	* src/pandroid_event_viewer/pandorafms/Core.java: Added a method to cancel the background service.
	* src/pandroid_event_viewer/pandorafms/Options.java: Now users can choose if they want the program to check events periodically in background.
	* res/layout/options.xml: New checkbox and textview.
	* res/values/strings.xml,
	  res/values-es/strings.xml: Added and modified some entries.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 21:58:38 +00:00
santimunin e77d26b03d 2012-06-29 Santiago Munin <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java: Added a little hack to make it compatible with v4.0.2
	* res/layout/main.xml: Added a little hack to make it compatible with v4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-29 13:33:37 +00:00
santimunin 8d965c519c 2012-06-25 Santiago Munin <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java: Fixed a UI bug and refactorized the API call.
	* src/pandroid_event_viewer/pandorafms/API.java: Added create incident.
	* res/layout/main.xml: Little UI changes.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-25 15:40:26 +00:00
santimunin 5ac33aa8eb 2012-06-24 Santiago Munin <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java: Added search profiles feature.
	* res/layout/main.xml: UI changes. Added search profiles feature.
	* res/values/strings.xml: Added new entries.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6684 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-24 11:24:47 +00:00
santimunin c7b37dce64 2012-06-11 Santiago Munin <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java,
	res/layout/main.xml: Now the advanced options' layout is GONE not INVISIBLE.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 15:09:09 +00:00
santimunin fbb0318785 2012-06-11 Santiago Munin <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Options.java,
	src/pandroid_event_viewer/pandorafms/Main.java,
	res/layout/main.xml,
	res/layout/options.xml: Changed advanced filter from Options to Filter.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 14:46:18 +00:00
santimunin 7d8cae5db3 2012-05-31 Santiago Munín <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java: Added tag retrieving.
	* res/layout/main.xml: Added tags' spinner.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-31 17:19:05 +00:00
santimunin 4b67dbd92f 2012-05-25 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Options.java: Added the option to show or hide advanced options (filter view).
	* res/layout/options.xml: Checkbox to select show or hide advanced options.
	* res/layout/main.xml: Show/hide advanced options (layout) and tag filter.
	* res/values/strings.xml: Added new entries.
	* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	  src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Adapted event parsing to Pandora FMS v5 and added the tag filter.
	* src/pandroid_event_viewer/pandorafms/Main.java: Now, removes advanced filter options if "hide advanced options" is selected in options view.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-25 10:06:48 +00:00
santimunin 727ecf76f7 2012-05-22 Santiago Munín <burning1@gmail.com>
* PandroidEventviewerService.java, PandroidEventviewerActivity.java: Added group filter.
	* res/layout/main.xml: Enabled group spinner.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-22 14:53:15 +00:00
santimunin fc4e7ab23f 2012-05-12 Santiago Munín <burning1@gmail.com>
* Licenses and javadoc comments added to all files, refactorized code.
       
    * Main.java: fixed a bug which was making the app crash when "Reset" button was clicked.
    
    * res/drawable-ldpi/help.png,
      res/drawable-ldpi/cross.png,
      res/drawable-ldpi/ok.png,
      res/values/styles.xml: Added in order to build the new notification options' UI.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-14 11:59:53 +00:00
mdtrooper 102b59b68e 2011-10-24 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: update num version.

	* res/layout/main.xml: hidden the group for this version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-24 16:26:51 +00:00
mdtrooper 539ee6179e 2011-09-28 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
	src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
	src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/Main.java,
	src/pandroid_event_viewer/pandorafms/Options.java,
	src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes.
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more strings and array values. 
	
	* res/menu/options_menu_list_events.xml: added custom menu for event list.

	* res/drawable-ldpi/refresh.png: icon for the refresh.
	
	* res/layout/main.xml, res/layout/options.xml: modify the layer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-28 17:23:19 +00:00
mdtrooper 28cfe6ef86 2011-09-27 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: change for avoid the crash when rotate mobile.
	
	* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
	src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
	src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/Main.java,
	src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
	src/pandroid_event_viewer/pandorafms/Core.java,
	src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes, now it
	is the first version funcionality of Pandora Event Viewer....I hope.
	
	* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
	res/values-en/strings.xml, res/values-es/arrays.xml,
	res/values-es/strings.xml: added more strings and array values.
	
	* res/layout/main.xml, res/layout/item_list_event_extended.xml,
	res/layout/popup_validation_event.xml: change and added layouts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-27 16:50:19 +00:00
mdtrooper 6bf71ab753 2011-09-23 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
	src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/Main.java,
	src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
	src/pandroid_event_viewer/pandorafms/Options.java,
	src/pandroid_event_viewer/pandorafms/EventList.java: wip in the event
	notification, now there are notifications and need that I develop the
	hook to activity list event.
	
	* src/pandroid_event_viewer/pandorafms/Core.java: move some functions to
	this file for use in other class.

	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more string values. 
	
	* res/drawable-ldpi/criticity_0.png, res/drawable-ldpi/criticity_1.png, 
	res/drawable-ldpi/criticity_2.png, res/drawable-ldpi/criticity_3.png, 
	res/drawable-ldpi/criticity_4.png, res/drawable-ldpi/criticity_default.png:
	added first version of icons for the notifications.
	
	* res/layout/main.xml: added a third button, the filter, to set the actual
	search as filter for the background event watcher.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 20:53:46 +00:00
mdtrooper 902670f086 2011-09-20 Miguel de Dios <miguel.dedios@artica.es>
* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more strings.
	
	* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: wip
	the background execution to get events,
	
	* src/pandroid_event_viewer/pandorafms/Main.java, res/layout/main.xml: added
	code to get groups in background process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-20 14:49:05 +00:00
mdtrooper 3ecd14f6f8 2011-09-16 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
	added to use the PandroidEventviewerActivity class in other parts in 
	proyect.
	
	* src/pandroid_event_viewer/pandorafms/Main.java: work in progress in the
	form, now only I need to write the filter call.
	
	* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
	res/values-en/strings.xml, res/values-es/arrays.xml,
	res/values-es/strings.xml, res/layout/main.xml: added more values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-16 11:19:54 +00:00
mdtrooper 129d16f2b9 2011-09-13 Miguel de Dios <miguel.dedios@artica.es>
* *.*: added first version of Pandroid Event Viewer.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-13 14:33:44 +00:00