Commit Graph

235 Commits

Author SHA1 Message Date
santimunin fd71da35e9 2012-06-06 Santiago Munin <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java: All api operations are now asynchronous.
	* res/layout/create_incident.xml: Progress circle next to groups spinner.
	* res/values/strings.xml: New entries.
	* res/menu/options_menu_list_events.xml, res/menu/options_menu.xml: New incident icon.
	* res/drawable-ldpi/incident.png: Added new icon


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-06 18:34:09 +00:00
santimunin b2e88f38eb 2012-06-06 Santiago Munin <burnin1@gmail.com>
* Fixed wrong uploads (bin and gen directories).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-06 17:21:19 +00:00
santimunin 3cd381653c 2012-06-06 Santiago Munin <burnin1@gmail.com>
* AndroidManifest.xml: Added CreateIncidentActivity (new activity).
	* src/pandroid_event_viewer/pandorafms/Core.java: Added some getAgents and getGroups
	* res/values/strings.xml: Added new entries
	* res/values/arrays.xml: Added new entries
	* res/menu/options_menu_list_events.xml, res/menu/options_menu.xml: Added "Incidents" entry
	* res/layout/create_incident.xml: CreateIncidentActivity's layout.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-06 17:16:52 +00:00
santimunin 48d36c778c 2012-06-01 Santiago Munin <burnin1@gmail.com>
* AndroidManifest.xml: Added IncidenList (new activity)
	* src/pandroid_event_viewer/pandorafms/IncidentListItem.java: Added, value object of incidents.
	* src/pandroid_event_viewer/pandorafms/IncidentList.java: New activity. It will show all incidents.
	* src/pandroid_event_viewer/pandorafms/Options.java: Little refactoring.
	* src/pandroid_event_viewer/pandorafms/EventList.java: Deprecated function removed.
	* res/layout/item_list_incident_layout.xml: Layout of IncidentList items.
	* res/values/strings.xml: Added new entries.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-01 16:56:35 +00:00
santimunin 04cb80614d 2012-06-01 Santiago Munín <burnin1@gmail.com>
* Little changes on the whole app: Fixed some Lint errors.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-01 13:48:48 +00:00
santimunin 75ebce15a2 2012-06-01 Santiago Munin <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Core.java: Added image setting methods.
	* src/pandroid_event_viewer/pandorafms/EventList.java: Removed image setting methods.
	* res/layout/item_list_event_layout.xml: Removed not needed ImageViews.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-01 12:30:33 +00:00
santimunin f1c23d2c7c 2012-06-01 Santiago Munín <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/EventList.java: Now Agent's link points to mobile console.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-01 10:33:11 +00:00
santimunin 4ebdcee15d 2012-05-31 Santiago Munín <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Core.java: Added a method which performs http petitions.
	* src/pandroid_event_viewer/pandorafms/EventList.java: Added javadoc comments.
	* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
	  src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	  src/pandroid_event_viewer/pandorafms/Main.java,
	  src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Changed api request (now they use Core's new method).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-31 20:11:56 +00:00
santimunin abe4634acf 2012-05-31 Santiago Munín <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java: Now, on MainActivity's restart, fetches groups and tags if url was changed.
	* src/pandroid_event_viewer/pandorafms/Options.java: Puts a boolean in SharedPreferences if url was changed.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-31 17:34:45 +00:00
santimunin 9e3000e6e8 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 e9a8e26a7e 2012-05-30 Santiago Munin <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/EventList.java: Removed unused methods and added two that will set images to the left of some textviews.
	* res/layout/item_list_event_extended.xml: Refactored some linear layouts with textviews and imageviews. Now, it is a single textview with an image on the left.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 11:40:24 +00:00
santimunin 2a29945239 2012-05-29 Santiago Munin <burnin1@gmail.com>
*src/pandrod_event_viewer/pandorafms/EventList.java: Now tags are links to their urls (if have).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-29 17:11:17 +00:00
santimunin 28f0284bc3 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 02ebde436f 2012-05-23 Santiago Munín <burning1@gmail.com>
* Core.java: Added a generic function which will serialize given params in order to send an API request.
	* PandroidEventviewerActivity.java, PandroidEventviewerService: Refactorized the serialization of parameters (now, they call Core.java function).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6338 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-23 09:54:49 +00:00
santimunin 64f1128125 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 a3973324f4 2012-05-21 Santiago Munin <burning1@gmail.com>
* EventList.java, PopupValidationEvent.java: Removed references to Core as an object.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6329 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-21 18:07:59 +00:00
santimunin da297ec58e 2012-05-19 Santiago Munin <burning1@gmail.com>
* AlarmReceiver.java: Removed. Now it's the service which will retrieve data.
	* Core.java: The method of setting periodically data retrieval was changed. 
				 Now, the AlarmManager will launch the Service instead of BroadcastReceiver.
	* PandroidEventviewerService.java: Every time it receives a call from the AlarmManager, will search for new events.
	* Most of files have little changes to adapt the new data retrieval subsystem.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-19 00:18:05 +00:00
santimunin ef54999b54 2012-05-17 Santiago Munín <burning1@gmail.com>
* Core.java: Changed methods to static. 
	
	* Main.java,
	  PandroidEventviewerService.java,
	  Core.java, Options.java,
	  EventList.java
	  PandroidEventviewerActivity.java: Instances of "Core" removed.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-17 21:34:03 +00:00
santimunin 6283e5052f 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
slerena e70625b8e3 2012-05-04 Sancho Lerena <slerena@artica.es>
* anytermd.suse.spec: Added specific spec for SUSE. Tested on a
        opensuse 11.3/i586.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-04 20:47:23 +00:00
slerena 8594b9936c 012-05-05 Sancho Lerena <slerena@artica.es>
* anytermd: Added anyterm to extras. Included modifications on original
	anytermd project source code. Added a new spec file for centos/fedora/rhel.
	Tested on FC16/i386 and centos6/x86_84.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-04 19:14:27 +00:00
mdtrooper d38a58a439 2012-12-27 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml,
	src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
	src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/Main.java,
	src/pandroid_event_viewer/pandorafms/About.java,
	src/pandroid_event_viewer/pandorafms/Options.java,
	src/pandroid_event_viewer/pandorafms/Info.java,
	src/pandroid_event_viewer/pandorafms/EventList.java,
	res/values/strings.xml,res/values-en/strings.xml,
	res/values-es/strings.xml,res/layout/info.xml: fixed some things and
	added more stability and a pretty splashscreen.
	
	MERGED FROM BRANCH 4.0.2




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-27 12:30:31 +00:00
mdtrooper cf006dbcc1 2011-12-25 Miguel de Dios <miguel.dedios@artica.es>
Apply patch from user Santiago Munín González <burning1@gmail.com>

	* src/pandroid_event_viewer/pandorafms/Main.java: fixed the empty
	combo group because sometimes this is as null.
	
	Fixes: #3495038
	
	MERGED FROM BRANCH 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 15:59:04 +00:00
Ramon Novoa d88e3b885d 2012-02-21 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Update agent version in versioninfo.rc.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-21 14:35:48 +00:00
Ramon Novoa fee8107acf 2011-12-21 Ramon Novoa <rnovoa@artica.es>
* build_vars.sh: Added to repository. Defines environment variables
	  needed to build Pandora FMS.

	* build_src.sh, build_windows_agent.sh,
	  build_deb.sh, pandora_update_version.sh,
	  build_rpm.sh: Source build_vars.sh.
	
	* build_rpm_redhat.sh: Added to repository. Script to build
	  RPM for Red Hat.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-21 11:38:57 +00:00
Ramon Novoa 6aaad1deb7 2011-12-14 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Update CLI and DB maintenance scripts
	  version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-14 14:12:27 +00:00
Ramon Novoa 818db4152d 2011-10-27 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-27 18:15:33 +00:00
Ramon Novoa 9318a9e784 2011-10-27 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Include build number in the
	  Windows agent installer for nightly builds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5092 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-27 18:11:02 +00:00
Ramon Novoa 843c151dce 2011-10-27 Ramon Novoa <rnovoa@artica.es>
* build_src.sh: Create symlinks needed to build RPM packages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5090 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-27 17:07:38 +00:00
Ramon Novoa 20cbb8176b 2011-10-27 Ramon Novoa <rnovoa@artica.es>
* build_src.sh: Include build number in tarballs for nightly builds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-27 16:50:37 +00:00
Ramon Novoa 0a25581e2e 2011-10-27 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Include build number in deb package
	  names for nightly builds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-27 16:40:27 +00:00
mdtrooper bb90e4b4ba 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 66a0ecda2e 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@5076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-24 16:13:20 +00:00
Ramon Novoa ae2a1af683 2011-10-11 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Update console build string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5061 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-11 14:09:12 +00:00
jsatoh dc9e65d5c2 2011-10-06 Junichi Satoh <junichi@rworks.jp>
* res/values-ja/arrays.xml, res/values-ja/strings.xml: Added Japanese
	resources.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5043 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-06 01:57:14 +00:00
mdtrooper b2e80e6d62 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
	fixed the events about BadXML with returns.
	 
	* res/values-es/strings.xml: fixed typo in the value "develop...".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5042 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-05 16:28:35 +00:00
mdtrooper b6e18e641c 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/Main.java: fixed the status value
	posprocess.

	* res/values/arrays.xml, res/values-en/arrays.xml, res/values-es/arrays.xml:
	added comment with this change.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-05 12:43:50 +00:00
mdtrooper 67b703a844 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* res/values/arrays.xml, res/values-en/arrays.xml,
	res/values-es/arrays.xml: disabled the element search "all events" for the
	actual version Pandora API.
	
	* 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/EventList.java: wip and fixes.
	
	* res/layout/item_list_event_extended.xml: added the style to comments for
	avoid overflow in the width dimension.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-05 12:08:33 +00:00
mdtrooper 04a087959d 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java
	
	* res/layout/about.xml: upload the file again.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-04 15:41:32 +00:00
slerena fead9eb702 2011-10-04 Sancho Lerena <slerena@artica.es>
* strings.xml: Edited description.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-04 14:39:55 +00:00
mdtrooper 575516b858 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
	fixed to show "unknow event" when fail the scan of events.
	
	* res/layout/about.xml: added the logo and wrote the company's short name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-04 14:23:25 +00:00
slerena cc71474d4c 2011-10-04 SAncho Lerena <slerena@artica.es>
* strings.xml: Edited description.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5035 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-04 12:35:06 +00:00
mdtrooper f81bf776cf 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added the reference to description.
	
	* 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/EventList.java: change the method to
	show the list of events from the notification and some fixes.
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added the string to fill for the description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-04 11:44:06 +00:00
mdtrooper 1904727957 2011-10-03 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added permission to vibrate 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/Options.java,
	src/pandroid_event_viewer/pandorafms/EventListItem.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 values.
	
	* res/drawable-ldpi/tick_off.png, res/drawable-ldpi/tick.png: added images.
	
	* res/layout/list_view_layout.xml, res/layout/item_list_event_layout.xml,
	res/layout/item_list_event_extended.xml: wip and fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-03 19:51:37 +00:00
mdtrooper 724f3bc406 2011-09-30 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: level up the sdk requirements.
	
	* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/Main.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 values.
	
	* res/layout/item_list_event_extended.xml: wip and fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-30 12:17:47 +00:00
mdtrooper 6280f853c0 2011-09-29 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: level down the SDK version requirements, need test in
	Android 2.1.
	
	* src/pandroid_event_viewer/pandorafms/Options.java: added the clean url
	the last '/' char.
	
	* src/pandroid_event_viewer/pandorafms/EventList.java: change the url to
	show agent in browser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5025 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-29 15:50:20 +00:00
mdtrooper 1e16be6ddd 2011-09-29 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added activity about.
	
	* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/Main.java,
	src/pandroid_event_viewer/pandorafms/About.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,
	res/menu/options_menu.xml: added about menu

	* 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,
	res/drawable-ldpi/pandorafms_logo.png: change the images.

	* res/drawable-ldpi/about.png: added image.
	
	* res/layout/item_list_event_extended.xml, res/layout/about.xml: added about
	and fixes the extended view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-29 15:33:15 +00:00
mdtrooper a54cb57c32 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 20741b2cd3 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 2aacfee9cb 2011-09-25 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java: added
	empty file for to work in this in the monday.
	
	* 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/EventList.java: added the hook to
	list event from notification. And fixed the search.

	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more strings values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-25 17:30:47 +00:00
mdtrooper 0e25e30995 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 c8d65de5c1 2011-09-22 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added the lines for the service and broadcastreciver.
	
	*src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/AlarmReceiver.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, added the first
	version of service to scan in background the event and other fixes and
	devs.
	
	* 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/options.xml: added more const.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-22 21:31:45 +00:00
mdtrooper 094b4e06f7 2011-09-21 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/Main.java,
	src/pandroid_event_viewer/pandorafms/EventListItem.java,
	src/pandroid_event_viewer/pandorafms/EventList.java: wip, now the list
	events run fine, and get asynchronous events and added some checks.
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more strings.
	
	* res/layout/list_view_layout.xml,
	res/layout/item_list_event_layout.xml: changes for to show the buttons and
	messages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-21 20:50:34 +00:00
mdtrooper af9bb24f5a 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 8fda5a8933 2011-09-19 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added Options activity. 

	* src/pandroid_event_viewer/pandorafms/Options.java, res/layout/options.xml:
	added ctivity Options to edit application preferences.  	

	* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
	src/pandroid_event_viewer/pandorafms/Main.java: added to hook for the
	options activity.

	* src/pandroid_event_viewer/pandorafms/EventList.java
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added some strings const.
	
	* res/menu/options_menu.xml: the sublayout for the option key.
	
	*res/layout/list_view_layout.xml: started to show dinamic load items.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-19 09:52:18 +00:00
slerena 5face9a62d 2011-09-16 Sancho Lerena <slerena@artica.es>
*  extras/build_src.sh: Fixed bad path.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-16 12:08:53 +00:00
mdtrooper 8f3817d4e3 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
slerena b8657e4d41 2011-09-15 Sancho Lerena <slerena@artica.es>
*  extras/build_src.sh: Missing PO files was breaking lang.
        system

        * aditional_rpmspec/wmic-4.0.0tp4-SVN-build-UNKNOWN.spec:
        Updated.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-15 16:11:42 +00:00
mdtrooper 9731f86ab6 2011-09-15 Miguel de Dios <miguel.dedios@artica.es>
* res/layout/*: added new layout and some changes in other layout.
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more strings.
	
	* src/pandroid_event_viewer/pandorafms/*: some changes to show opened item
	when make click in event list.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-15 13:34:52 +00:00
mdtrooper c66e51bb5b 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
slerena 4e3f944335 2011-09-01 SAncho Lerena <slerena@artica.es>
* scripts/webserver/pandora_webserver.pl: Updated header.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 13:41:10 +00:00
juanmanuelr 42baba4503 2011-08-30 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* scripts/webserver
	scripts/webserver/pandora_webserver.pl
	scripts/webserver/PandoraFMS_Monitorizacion_Webserver.odt: Added files
	with webserver plugin and documentation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4855 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-30 16:10:36 +00:00
slerena b86a4fc557 2011-05-04 Sancho Lerena <slerena@artica.es>
* scripts/mail_transfer: Updated english doc.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 17:44:13 +00:00
slerena fbb90de167 2011-05-04 Sancho Lerena <slerena@artica.es>
* scripts/mail_transfer: Added new script to send/receive XML
        data files by SMTP/POP3.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-04 16:34:29 +00:00
Ramon Novoa 0265bfd60d 2011-02-22 Ramon Novoa <rnovoa@artica.es>
* build_src.sh: Updated to work with the current directory structure.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-22 11:04:40 +00:00
Ramon Novoa fac10414f6 2010-12-28 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Update the console installer version. Fixed
	  a bug when reading the build number.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-28 12:44:58 +00:00
Ramon Novoa f3ec02bf57 2010-12-23 Ramon Novoa <rnovoa@artica.es>
* build_src.sh, build_windows_agent.sh,
	  build_deb.sh, build_rpm.sh: Return error codes and exclude .po files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-23 12:34:02 +00:00
Ramon Novoa 791b11396d 2010-12-21 Ramon Novoa <rnovoa@artica.es>
* build_src.sh, build_deb.sh, build_rpm.sh: Small fixes to build scripts.
	
	* build_windows_agent.sh: Added to respository. Windows agent build script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3673 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-21 12:14:15 +00:00
slerena c9c2b83169 2010-11-26 Sancho Lerena <slerena@artica.es>
* pandora_agents/unix/DEBIAN/make_deb_package.sh,
	pandora_agents/unix/pandora_agent.spec,
	extras/build_deb.sh,
	pandora_console/DEBIAN/make_deb_package.sh,
	pandora_server/DEBIAN/make_deb_package.sh: Updated debian
	package generation (version update and small fixes/adjustements)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-25 22:48:13 +00:00
slerena 432eddcfa5 2010-11-08 Sancho Lerena <slerena@artica.es>
* build_src.sh: Removed NT4 from the unix src package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 16:38:17 +00:00
Ramon Novoa 22e7a98409 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Set the build in the InstallJammer mpi
	  file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 18:06:30 +00:00
Ramon Novoa 74972ce911 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Fixed the regular expression that matches
	  the InstallVersion token.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3508 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:36:33 +00:00
Ramon Novoa a873132f60 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Update the InstallJammer mpi file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3506 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:23:26 +00:00
slerena 0d9e2930a4 2010-09-22 Sancho Lerena <slerena@artica.es>
* extras/build_src.sh
        extras/build_rpm.sh: Fixed scripts for my enviroment (SUSE 11.3)




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-22 18:31:25 +00:00
Ramon Novoa 5e4ae3f52e 2010-06-02 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Fixed parameter check. Make sure
          develop_bypass is set to 1.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2847 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 16:01:48 +00:00
Ramon Novoa 5ab9d8c736 2010-05-24 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Added to repository. Script to
          automatically update Pandora FMS version and build where
          necessary.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-24 16:38:04 +00:00
Ramon Novoa ad378b25ae 2010-05-21 Ramon Novoa <rnovoa@artica.es>
* build_src.sh: Get the right version for the keygen.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2784 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-21 11:58:30 +00:00
Ramon Novoa 8727aee060 2010-05-20 Ramon Novoa <rnovoa@artica.es>
* build_src.sh, build_deb.sh, build_rpm.sh: Added to repository. 
          Sancho's newest build scripts.

        * build_rpm_packages.sh: Removed from repository. Old build script.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-20 13:42:47 +00:00
slerena 19a26e177d 2009-12-18 Sancho lerena <slerena@gmail.com>
* extras/aditional_rpmspec/xprobe2-0.3.spec: Updated to make it
        compatible with SUSE build service.

        * extras/aditional_rpmspec/wmic-4.0.0tp4-SVN-build-UNKNOWN.spec: Final
        changes (updated web, license and description).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2222 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-18 18:27:18 +00:00
slerena 38f4c06091 2009-12-09 Sancho Lerena <slerena@gmail.com>
* aditional_rpmspec/xprobe2-0.3.spec: Fixed parameter to avoid FHS
        enforcing on SUSE Build Service.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 23:59:25 +00:00
slerena b6504f3f8f 2009-12-08 Sancho lerena <slerena@gmail.com>
* aditional_rpmspec/xprobe2-0.3.spec: Added spec for xprobe2 (SUSE and RH).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2179 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 19:05:35 +00:00
slerena 7ad1d52122 2009-12-08 Sancho lerena <slerena@gmail.com>
* aditional_sources: Added directory to put there sources of
        modified packages used in Pandora FMS.

        * aditional_sources/xprobe_0.3: Patched version to compile with
        * gcc4.x and used to do SUSE RPM packages for 11.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2178 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-12-08 15:23:58 +00:00
slerena 2d704c35c1 2009-11-11 Sancho Lerena <slerena@artica.es>
* tentacle_proxy: Upgrade to support a previous check of connectiviy
        before trying to copy nothing to up server.

        * generic_daemon_launcher: A generic script used to launch other 
        apps/scripts as daemons. Could be used with tentacle_proxy, daemon_watchdog
        a secondary pandora_agent or pandora_server instance, for example.

        * daemon_watchdog: A script used to watchdog for another process, for
        example a pandora_server or a mysql. This also try to "restart" the process
        if it's down and has a custom execution field to notify directly admin
        when a daemon is not restarting and it's down.

        * build_rpm_packages.sh: Some fixes in RPM build script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-11-11 18:06:58 +00:00
slerena 3766c839a0 2009-09-21 SAncho Lerena
* extras/build_rpm_packages.sh: typo fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-21 00:37:07 +00:00
slerena f36a186e4f 2009-09-08 Sancho Lerena <slerena@artica.es>
* Initial load of extras subdir. Expect to have some dirty
	scripts and misc. stuff here. 

	* extras/tentacle_proxy: Tentacle proxy script to pass data/conf files from
	one tentacle server, used like a proxy to reach another server. 

	* extras/aditional_rpmspec: Additional RPM's to create RPM packages to
	satisfy Pandora FMS dependencies.

	* extras/build_rpm_packages.sh: Script to make all Pandora FMS RPM's.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-09-08 15:40:51 +00:00