1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-16 06:25:06 -05:00
Commit Graph

3399 Commits

Author SHA1 Message Date
Andrew Chen
b1d4bc39f8 Follow redirects during autoconfig (since Mozilla is issuing redirects now), cleanup our sockets, and fix some strings. 2012-08-09 23:35:37 -07:00
Andrew Chen
d84a2d158c Re-add the default account string used by autoconfig. 2012-08-09 10:41:17 -07:00
Sander Bogaert
094cc35ad0 Remove outdated tests. 2012-08-08 10:40:20 -07:00
Sander Bogaert
47ea21ecc7 Remove now unused login dialog code. 2012-08-08 10:40:19 -07:00
Sander Bogaert
7f377f9b5d Better and correcter error handling. 2012-08-08 10:40:19 -07:00
Sander Bogaert
ee523ca8fd Enabled manual setup button when autoconfiguration not possible. Also removed red cross and excess text in that case. 2012-08-08 10:40:18 -07:00
Sander Bogaert
244d1319e9 Changed next button in existing account dialog to match other ones. Commented out the default account checkbox for now, until we decided on this. 2012-08-08 10:40:17 -07:00
Sander Bogaert
48d09891cd Skip to the 'enter new account login' activity when no accounts were found on the device. When we do actually scan the sd-card this can no longer be implemented this way since then data will be added from another thread. A progress dialog or something will have to be used. 2012-08-08 10:40:17 -07:00
Sander Bogaert
92cd70c068 Used traditional cancel/next buttons on confirm screens. Implemented the Cancel action. 2012-08-08 10:40:16 -07:00
Sander Bogaert
44fae8bbdb Commented 'extra information' out for now. 2012-08-08 10:40:15 -07:00
Sander Bogaert
2e6f965161 Used ellipsis character. 2012-08-08 10:40:15 -07:00
Sander Bogaert
a81dac33d7 Corrected some bad english. 2012-08-08 10:40:13 -07:00
Sander Bogaert
bb9bb70a94 Moved the content of the dialog asking for email/pasw to separate activity as was asked. Support for a 'default account checkbox' is still included but commented out for now. The new AccountSetupGetLogin actvity is a very stripped down version of the old AccountSetupBase activity. 2012-08-08 10:40:13 -07:00
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