1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00
Commit Graph

3376 Commits

Author SHA1 Message Date
sander
5aa0dce062 Added support for DNS MX redirection in autoconfiguration.
Reworked the gui for the autoconfiguration activity.
2012-08-08 10:40:04 -07:00
Sander Bogaert
1c4ebf15b7 Added support for "Default account" setting in setup. 2012-08-08 10:40:03 -07:00
Sander Bogaert
8459fba206 Added code for manual continuation when no settings are found. 2012-08-08 10:40:02 -07:00
dzan
0bf09401c9 Show warning about data coming over unsafe http. Bit of restyling for detection screen ( note: still a 'hack' to get the progresscircle high enough ). 2012-08-08 10:40:01 -07:00
dzan
a645ea08b3 Tied it all together, very rough working version of the setup is in place now. 2012-08-08 10:40:00 -07:00
dzan
854c0e51d4 Handle usernames ( part of email or custom ). Small clean-ups. 2012-08-08 10:39:59 -07:00
dzan
6ade89ed54 Added view support for documentation links added by ISP and unfinished support for multiple hosts with same settings. 2012-08-08 10:39:59 -07:00
dzan
9e99acd9c9 Unified the types of extra information under "documentation". 2012-08-08 10:39:58 -07:00
dzan
71c7a5c9ef Updated the layout of the confirmation screens. 2012-08-08 10:39:57 -07:00
dzan
252b406d8e Implements a very simple and basic view for the confirm screens showing filtered account configuration information. 2012-08-08 10:39:57 -07:00
dzan
3d2a37418f Start of confirm activity. Now correctly links the two spinners ( protocol and sockettype ) to allow selecting between multiple configuration options. 2012-08-08 10:39:56 -07:00
dzan
277bfb879f Adapted the filter method to work without list arguments. It's used more this way. 2012-08-08 10:39:55 -07:00
dzan
cba9ccd416 Added two new activities to allow for confirming/choosing the detected settings. Also connected them to the next button in the autoconfiguration activity. 2012-08-08 10:39:55 -07:00
dzan
2423c45ec2 Small change to make it parcelable in reality... contains a VERY VERY ugly quick fix, this needs to be corrected!!! 2012-08-08 10:39:54 -07:00
dzan
925da1029c Fixed bug in parser and made autoconfiginfo class more robust ( by being more strict on server types ). 2012-08-08 10:39:53 -07:00
dzan
c8f14ecfe4 Made the whole AutoconfigInfo class parcelable so it can be passed through the use of intents. This required a very minor change in the parser class. 2012-08-08 10:39:53 -07:00
dzan
5cf723b6a1 Add some advanced getters to the accountInfoClass ( filters ). 2012-08-08 10:39:52 -07:00
dzan
b19928a298 Fixed the manual configuration ( I broke before ). 2012-08-08 10:39:51 -07:00
dzan
52d9ba89df Made the whole AutoconfigInfo class parcelable so it can be passed through the use of intents. This required a very minor change in the parser class. 2012-08-08 10:39:50 -07:00
dzan
1f0f229b76 Moved the previous abstraction up in the 'call tree', making it static so every class can now easily get a blank account object. This is needed for changes to come. 2012-08-08 10:39:50 -07:00
dzan
9df96d07c5 Revert "Revert "Improved autoconfiguration screen. User can follow progress better, has an indicator the phone is busy. Added buttons to cancel or continue.""
This reverts commit 555318de515f962a742281b025821b96f6ad463a.
2012-08-08 10:37:19 -07:00
dzan
70e25c93e8 Revert "Improved autoconfiguration screen. User can follow progress better, has an indicator the phone is busy. Added buttons to cancel or continue."
This reverts commit c83f6a3b9ac7f5b719df555f6bf2bab18409aa44.
2012-08-08 10:37:18 -07:00
dzan
b30e67c270 Moved the initialisation of a new account to the AccountSetupAccountType class. This is used when a manual configuration run is started. Doing this will allow to avoid duplicated code later on ( not having to do the initialisation in each class of the setup that could possibly initiate a manual configuration run ). 2012-08-08 10:37:17 -07:00
Sander Bogaert
8be8f62fb8 Improved autoconfiguration screen. User can follow progress better, has an indicator the phone is busy. Added buttons to cancel or continue. 2012-08-08 10:37:16 -07:00
Sander Bogaert
9af0d55676 Fixed some faults in the parser. Changed the Server classes hierarchy a bit. 2012-08-08 10:37:15 -07:00
Sander Bogaert
f2fa32c3db Included tests for the parser. Corrected an existing test. Included IntelliJ IDEA project file for the Test module that works. 2012-08-08 10:37:14 -07:00
Sander Bogaert
9cd9930a5c Changed two hardcoded strings to xml values. 2012-08-08 10:37:14 -07:00
Sander Bogaert
f494108dc6 Moved the parser classes to the helper package. 2012-08-08 10:37:13 -07:00
Sander Bogaert
7914a14a66 Centered next buttons in dialogs. 2012-08-08 10:37:12 -07:00
Sander Bogaert
7e4b4c4bc7 Added progressbar to autconfig screen and played bit with margins. 2012-08-08 10:37:12 -07:00
Sander Bogaert
91e55e38b9 First implementation of the parser for the mozilla format XML files. There are some TODO's left. It has to be tested also! ( It's more up here for review & feedback ). 2012-08-08 10:37:11 -07:00
Sander Bogaert
869bb7602f Added support for documentation tags. 2012-08-08 10:37:10 -07:00
Sander Bogaert
bcd7735324 Changed the parsing to use the new class names. Cleaned up the imports. 2012-08-08 10:37:10 -07:00
Sander Bogaert
815d162b3e Added a MutablePair class as wrapper of two objects that can be changed after initialisation <> standard android version of Pair. 2012-08-08 10:37:09 -07:00
Sander Bogaert
f652f6bf61 Added a 'converter" method to the ServerType enum. 2012-08-08 10:37:08 -07:00
Sander Bogaert
6f36e90995 First implementation of the AutoconfigInfo class. This class holds all the data we receive in the mozilla ISPDB XML format. 2012-08-08 10:37:07 -07:00
Sander Bogaert
38d04a218c New strings for the auto-configuartion. These inform the user of what's going on. 2012-08-08 10:37:07 -07:00
Sander Bogaert
2a229a7a47 Implemented the beginning of auto-configuration. The data is downloaded when available. Some TODO's left. 2012-08-08 10:29:45 -07:00
Sander Bogaert
e72f9caec3 Removed old imports, changed password dialog text and tied the buttons to the auto-complete callback. 2012-08-08 10:29:44 -07:00
Sander Bogaert
a4b4d3d101 Added an address hint and changed size to wrapContent, looks better after all. 2012-08-08 10:29:44 -07:00
Sander Bogaert
b66f7cdceb Remove old import + @overrides where not needed. 2012-08-08 10:29:43 -07:00
Sander Bogaert
694b643a7c Dialogs in place to continue after selecting an account. No input validation for now. 2012-08-08 10:29:42 -07:00
Sander Bogaert
002f1a7429 Fixed bug: returned wrong type of object in getItem() 2012-08-08 10:29:41 -07:00
Sander Bogaert
b580a559c6 Skelet of dialog-callback. Actually just testing the git stuff is set up right. 2012-08-08 10:29:40 -07:00
Sander Bogaert
ee020ed4b9 This add a new setup screen. It displays all accounts found on the device. It's made to be extended with accounts from the backup files ( commented where this code should go ). 2012-08-08 10:29:40 -07:00
Andrew Chen
5804b617b6 Merge pull request #165 from Votyer/master
Update it translation.
2012-08-08 09:46:56 -07:00
Andrew Chen
20e358d60b Fix XML errors in tr translation. 2012-08-07 11:19:23 -07:00
Andrew Chen
827d0be277 Merge pull request #164 from wakeup/patch-3
Update tr translation.
2012-08-07 11:06:04 -07:00
Federico
806a7e4eed Update values-it/string.xml 2012-08-07 10:00:59 -07:00
wakeup
0a0a9b83f9 Update res/values-tr/strings.xml 2012-08-07 18:43:22 +03:00