* build_deb.sh,
build_rpm.sh,
build_src.sh: Build enterprise server packages, since we are having
issues with ActiveState binaries.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandorafms/pandorafmsandroidconsole/PandoraWebView.java: fixed
the access with passwords or users with non-ascii characters.
* AndroidManifest.xml: update the version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* fedora_official_specs: Added new directory to maintain the official specs
for fedora/centos/EPEL. Not yet official, but going on...
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* build_rpm.sh,
build_rpm_redhat.sh,
build_src.sh: Remove the keygen from the build scripts (it is not used
anymore).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: fixed Java
warning.
* res/drawable-ldpi/config.png, res/drawable-ldpi/about.png: changed
the icons to green icons, thanks Carla.
* AndroidManifest.xml: incremented the version number.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: fixed the
incident dialog when two times.
* src/pandroid_event_viewer/pandorafms/Options.java: updated the
api password for the pandora_demo in firefly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Main.java: setted the
standar style for group and tag dropbox.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Options.java: fixed the save
state of check in background, before it run but didn't show.
* res/layout/main.xml: added id for the tag.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Main.java: fixed to check the
pandora version for 4 series, this is for to hidden the tag filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/About.java: removed the
unused import.
* src/pandroid_event_viewer/pandorafms/EventList.java,
res/values-ja/strings.xml, res/values/strings.xml,
res/values-es/strings.xml: fixed the text to show when the
event is a recon.
* AndroidManifest.xml: incremented the version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java
pandroid_event_viewer/src/pandroid_event_viewer/pandorafms/Main.java: Clean old debug messages
and fix version detection for use new API functions on SP1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/drawable-ldpi/config.png, res/drawable-ldpi/help.png,
res/drawable-ldpi/exit.png, res/drawable-ldpi/refresh.png: updated
the icons of app to new Pandora style, thanks Carla.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/About.java,
res/values-es/strings.xml, res/layout/info.xml,
res/values-ja/strings.xml, res/values/strings.xml: added ok button
in the about view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9048 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: changed the
style to show a better face the list of events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9046 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: Adapt
the event comments to new storing format
* res/layout/item_list_event_extended.xml: Improve event
comments layout to wrap the text to the container
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java,
src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
res/layout/create_incident.xml: fixed the popup dialog for the
create incident.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java,
res/layout/list_view_layout.xml: changes in the theme of the app.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
res/layout/list_view_layout.xml, res/layout/main.xml: changes in the
theme of app.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/values/styles.xml, res/layout/options.xml: I have started to
set the new style of app (Thanks Carla).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
fixed when the data return to call for get events is bad format,
before it was fails all app, now it tries to get correct event for
each line.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandorafms/pandorafmsandroidconsole/Options.java,
src/pandorafms/pandorafmsandroidconsole/PandoraWebView.java: setted
the default values the Pandora public demo.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* .classpath: some changes that eclipse makes "automagicaly".
* src/pandorafms/pandorafmsandroidconsole/PandoraWebView.java:
fixed java-android warnings.
* res/layout/activity_web_view.xml: improved the source code style.
* AndroidManifest.xml: fixed with ugly fix the lost "option button"
in the phones/tables with android version over that honeycomb and
have not a fisical option menu. Fixes the warnings of android.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/values-ja/strings.xml: added string "empty" but I can not
translate into japanese.
* res/values-es/strings.xml: added string for translate "empty" into
spanish.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: improved the
code style.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
fixed the values criticity_name and criticity_image in the events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/API.java: added more log
for to make more easy.
* src/pandroid_event_viewer/pandorafms/Core.java: the constant
TIMEOUT now is 10 seconds instead old 5 seconds that sometimes
fails.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
added functions "getEvents_v50" and "getEvents_old" for to get
events list for serveral api pandora versions.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java:
fixed source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/expand_command.cc: Remove more problematic characters
from the parameters as suggested by Robert van Hamburg
(xistence).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/expand_command.cc: Improved injection detection. Thanks to
Robert van Hamburg (xistence) for finding the vulnerability.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* PandoraFMS_android_console/*: added first version of PandoraFMS
android console (it is a custom browser standaralone for the
Pandora Web Console Mobile).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: Now, if an element is validated, his color changes to green.
* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java: Now it returns a result (validated or not) which will be processed for the activity which called it.
* res/values/colors.xml: Added colors to values instead of hardcoding them.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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: update the images thanks a
Carla Andres.
* res/layout/info.xml: fixed the layout to show the app icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6967 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Main.java: Bug with api version detect solved.
* src/pandroid_event_viewer/pandorafms/EventList.java: Comments are cut when they're too long.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6914 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Options.java: Fixed a little bug with the connection status textview.
* res/layout/options.xml: Connection status textview now has a fixed width.
* res/values/strings.xml: Added an entry.
* res/values-es/strings.xml: Added an entry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Options.java: Removed url_changed in SharedPreferences.
* src/pandroid_event_viewer/pandorafms/Main.java: Tags and groups are loading onResume. Also, they are always loaded (url_changed isn't used anymore).
* src/pandroid_event_viewer/pandorafms/Core.java: Changed method visibility.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Changed time measurement in the background check events.
* res/layout/create_incident.xml: Fixed a edittext's bad behavior (bad stretching).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Now uses the new getEvents() method in API class.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: Now uses the new getEvents() method in API class.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Little changes.
* src/pandroid_event_viewer/pandorafms/API.java: Now the getEvents() method accepts all parameters of get_events petition in Pandora API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6770 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* src/pandroid_event_viewer/pandorafms/About.java,
src/pandroid_event_viewer/pandorafms/Options.java,
src/pandroid_event_viewer/pandorafms/EventList.java,
src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java,
src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
src/pandroid_event_viewer/pandorafms/Main.java: erased the
preprocesor "@Override" for to avoid error messages in a compiler
with default configs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Core.java: Service will only start if options were configured.
* src/pandroid_event_viewer/pandorafms/API.java: Removed a //TODO comment.
* src/pandroid_event_viewer/pandorafms/Options.java: A "configured" value is saved in preferences as true if options were configured.
* src/pandroid_event_viewer/pandorafms/EventList.java: Removed group images.
* res/layout/options.xml: Little UI changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/OnBootLoader.java: New BroadcastReceiver which starts the search new events service after the phone boot.
* src/pandroid_event_viewer/pandorafms/Core.java: Little changes.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: On process_notification it doesn't retrieve count_events anymore.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Now the launched notification has the correct number of new events.
* res/values/strings.xml: Added new entries.
* res/values-en/*: Deleted, unnecessary files.
* AndroidManifest.xml: Added the new BroadcastReceiver
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/IncidentListItem.java: Deleted, not necessary class.
* src/pandroid_event_viewer/pandorafms/IncidentList.java: Deleted, not necessary class.
* src/pandroid_event_viewer/pandorafms/EventList.java: The event type images are now fetched from the application (not internet).
* src/pandroid_event_viewer/pandorafms/Core.java: Added a method which returns the event type image.
* res/res/drawable-ldpi/: Added some images.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Main.java: Added a check in order to prevent profile overwritings.
* src/pandroid_event_viewer/pandorafms/Core.java: Added method which finds a string in a list (case insensitive).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* src/pandroid_event_viewer/pandorafms/Core.java: Added "apipass" parameter to petitions.
* src/pandroid_event_viewer/pandorafms/Options.java: Added an API Password entry. Now, after getting the API version, it is stored in SharedPreferences.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: Changed event parsing.
* src/pandroid_event_viewer/pandorafms/API.java: Added some checks before parsing tags and groups.
* res/values/strings.xml: Added new entries.
* res/layout/options.xml: Added an API Password entry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/API.java: Added new api calls.
* src/pandroid_event_viewer/pandorafms/Core.java: Now connections can throw IOExceptions.
* res/values/strings.xml: Added new entries.
* src/pandroid_event_viewer/pandorafms/Options.java,
src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
src/pandroid_event_viewer/pandorafms/EventList.java,
src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
src/pandroid_event_viewer/pandorafms/Main.java: Now a toast is shown if there was any connection problem.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* src/pandroid_event_viewer/pandorafms/Core.java: Fixed a bug in the isOnline() function.
* src/pandroid_event_viewer/pandorafms/Options.java: Improved the connection checking functionality.
* src/pandroid_event_viewer/pandorafms/API.java: Added getTags().
* src/pandroid_event_viewer/pandorafms/Main.java: Now the tags are getted by API.getTags().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6683 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Core.java: Added a new method which checks if a website is online.
* src/pandroid_event_viewer/pandorafms/Options.java: Fixed a bug. The app didn't check if the url were online before checking the certificate.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6673 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/EventList.java: Restored to the previous version.
* src/pandroid_event_viewer/pandorafms/Core.java: Added a line which checks if the connection is secure.
* src/pandroid_event_viewer/pandorafms/Options.java: Made some changes in certificate checking.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: Now, if there are any problem parsing data received from server.
* res/layout/list_view_layout.xml: Restored to the previous version.
* res/layout/item_list_event_layout.xml: Restored to the previous version.
* res/values/strings.xml: Added new entries.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6665 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/API.java: New class, it will provide all API calls.
* src/pandroid_event_viewer/pandorafms/EventList.java: Loading more events on scroll down.
* src/pandroid_event_viewer/pandorafms/Core.java: Added HTTPS connections.
* src/pandroid_event_viewer/pandorafms/Options.java: Added self-signed certificates check.
* src/pandroid_event_viewer/pandorafms/NaiveTrustManager.java: HTTPS through self-signed websites.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: Added ListAdapter to get events asynctask as a parameter.
* res/layout/list_view_layout.xml: Little UI changes.
* res/layout/item_list_event_layout.xml: Little UI changes.
* res/values/strings.xml: Added new entries.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Core.java,
src/pandroid_event_viewer/pandorafms/API.java: Moved api functions to API.java
* src/pandroid_event_viewer/pandorafms/Options.java: Connection status works ok now.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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