1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 13:35:04 -05:00
Commit Graph

3386 Commits

Author SHA1 Message Date
Sander Bogaert
80f46a1305 Total visual redesign of the autoconfiguration activity. 2012-08-08 10:40:12 -07:00
Sander Bogaert
b42e06fd9d Default hide documentation section in confirm activity. Remove some unused imports. 2012-08-08 10:40:11 -07:00
Sander Bogaert
b7673fc481 Forgot closing a reader. 2012-08-08 10:40:10 -07:00
Sander Bogaert
74b5d777f1 Changed log level to verbose when some of the autoconfiguration attempts fail, these are not errors. 2012-08-08 10:40:09 -07:00
Jesse Vincent
5fa5b69688 merge fixups 2012-08-08 10:40:09 -07:00
Sander Bogaert
2152512529 Added dialog to reenter credentials when wrong at the settings check step in the wizard. This prevents users from having to rerun the whole wizard as it is now. 2012-08-08 10:40:08 -07:00
Sander Bogaert
e3b607e49e Hide softwarekeyboard by default on AccountSetupConfirm activities. 2012-08-08 10:40:07 -07:00
Sander Bogaert
c39d1b34fe Made it scrollable for smaller screens. 2012-08-08 10:40:07 -07:00
Sander Bogaert
937c6a1280 Changed description of account index wizard activity. 2012-08-08 10:40:06 -07:00
Sander Bogaert
8e9da5cf5b Remove test data and check for duplicate accounts on the device. 2012-08-08 10:40:05 -07:00
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