* 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