Commit Graph

124 Commits

Author SHA1 Message Date
slerena d4ef17c4a0 2012-08-19 Sancho Lerena <slerena@artica.es>
* Fixed some missing files, and created COPYING and ChangeLog.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 18:07:22 +00:00
slerena 91105bcb56 2012-08-19 Sancho Lerena <slerena@artica.es>
* Commited some missing files from Hareesan. Created ChangeLog and small 
	minor fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6883 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 17:42:24 +00:00
rharishan 2b994b8fe2 2012-08-17 Hareesan Rajendra <rharishan@gmail.com>
* Added missing files and folders.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 04:33:39 +00:00
rharishan 08c090a49f 2012-08-17 Hareesan Rajendra <rharishan@gmail.com>
* contains files and folders missing in firefox extension


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 04:17:20 +00:00
rharishan b5c158a247 2012-08-17 Hareesan Rajendra <rharishan@gmail.com>
* chrome_extension : Updated Missing files and Folders


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-17 04:10:07 +00:00
rharishan f256e26059 2012-08-16 Hareesan Rajendra <rharishan@gmail.com>
* firefox_extension : Contains files for Firefox extension.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6863 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-15 19:15:17 +00:00
santimunin b8040fc39e 2012-08-10 Santiago Munín <burning1@gmail.com>
* 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
2012-08-09 22:22:02 +00:00
rharishan a93e751965 2012-08-08 Hareesan Rajendra <rharishan@gmail.com>
* chrome_extension : Contains the files for chrome extension



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-08 01:55:06 +00:00
santimunin 5cff76f76f 2012-08-02 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Core.java: Changed timeout from 10 to 5 seconds.
	* res/layout/item_list_event_layout.xml: Increased drawablePadding of timestamp textview.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-02 09:16:44 +00:00
santimunin c138c42bc9 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 920b6d855d 2012-08-01 Santiago Munín <burning1@gmail.com>
* res/layout/create_incident.xml: UI changes.
	* AndroidManifest.xml: Removed some comments and removed header from all activities.
	* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: FIXME added.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 22:50:37 +00:00
santimunin f3ca701fe9 2012-08-01 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: TODO added.
	* res/layout/options.xml: UI changes.
	* res/values/strings.xml: Changed an entry.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6835 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-31 22:25:24 +00:00
santimunin c15fb2e70f 2012-07-30 Santiago Munín <burning1@gmail.com>
* 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
2012-07-30 17:38:24 +00:00
santimunin 61fb430f05 2012-07-14 Santiago Munín <burning1@gmail.com>
* 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
2012-07-14 20:59:29 +00:00
santimunin 620fbc2404 2012-07-14 Santiago Munín <burning1@gmail.com>
* 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
2012-07-14 20:13:54 +00:00
santimunin a96a2d8b6c 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 795495887b 2012-07-11 Santiago Munín <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/API.java,
	  src/pandroid_event_viewer/pandorafms/Main.java: Added some SupressWarning annotations.
	* res/layout/options.xml: Textview 
	* res/drawable-ldpi/incident.png,
	  res/drawable-ldpi/house.png,
	  res/drawable-ldpi/lightning_go.png: Removed, no longer needed.
	* res/values/strings.xml,
	  res/values-es/strings.xml,
	  res/values-ja/strings.xml: Removed some entries.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-10 23:02:39 +00:00
santimunin 0f0afce9c1 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
mdtrooper ca389b1a06 2012-07-09 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-07-09 10:59:03 +00:00
santimunin 991d05736f 2012-07-06 Santiago Munin <burning1@gmail.com>
* 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
2012-07-06 08:02:31 +00:00
santimunin f625d98873 2012-07-05 Santiago Munin <burning1@gmail.com>
* 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
2012-07-05 17:10:19 +00:00
santimunin 639ff30beb 2012-07-03 Santiago Munin <burning1@gmail.com>
* 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
2012-07-02 22:25:27 +00:00
santimunin 3d8608f154 2012-06-30 Santiago Munín <burning1@gmail.com>
* 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
2012-06-29 23:10:25 +00:00
santimunin c5d1412395 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 968c73c184 2012-06-27 Santiago Munin <burning1@gmail.com>
* 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
2012-06-27 15:37:10 +00:00
santimunin 39bdf296e6 2012-06-26 Santiago Munin <burning1@gmail.com>
* 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
2012-06-25 22:38:24 +00:00
santimunin 7452180c92 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 4ddac5736a 2012-06-24 Santiago Munin <burning1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java: Removed getGroups function, now it calls API.getGroups().


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6685 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-24 11:30:22 +00:00
santimunin f792c71e78 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 167264165b 2012-06-23 Santiago Munin <burning1@gmail.com>
* 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
2012-06-23 14:28:37 +00:00
santimunin c9c1fff106 2012-06-21 Santiago Munin <burning1@gmail.com>
* 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
2012-06-21 22:11:22 +00:00
santimunin a3f645ef49 2012-06-21 Santiago Munin <burning1@gmail.com>
* 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
2012-06-21 15:20:17 +00:00
Ramon Novoa 652523829f 2012-06-20 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Update version in agent configuration
	  files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-20 13:42:17 +00:00
santimunin 62dc186577 2012-06-20 Santiago Munin <burning1@gmail.com>
* 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
2012-06-20 09:32:49 +00:00
santimunin 538d9c9874 2012-06-11 Santiago Munin <burning1@gmail.com>
* 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
2012-06-11 18:27:17 +00:00
santimunin c255c14b97 2012-06-11 Santiago Munin <burning1@gmail.com>
* res/values/arrays.xml: Removed some entries.
	* res/values/strings.xml: Added one entry.
	* res/layout/create_incident.xml: Removed form fields.
	* res/layout/item_list_event_extended.xml: Added a button to create an incident from the event.
	* src/pandroid_event_viewer/pandorafms/EventList.java: Added crate incident button logic.
	* src/pandroid_event_viewer/pandorafms/CreateIncidentActivity.java: Removed fields logic.
	* src/pandroid_event_viewer/pandorafms/Main.java,
	src/pandroid_event_viewer/pandorafms/EventList.java,
	res/menu/options_menu.xml,
	res/menu/options_menu_list_events.xml: Removed create incident (menu entry)


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 18:01:51 +00:00
santimunin 9cd92ddfed 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 cf1ef448e7 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
Ramon Novoa 97c10da4a6 2012-06-11 Ramon Novoa <rnovoa@artica.es>
* pandora_update_version.sh: Update version string in server
	  configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6482 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-11 14:01:16 +00:00
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