Commit graph

  • d0b18900b0 Update version number of license above the classes containing one uykek 2020-08-10 10:57:54 +0200
  • f39d614579 Add comments and make a few changes to the DailySudokuActivity uykek 2020-08-10 10:24:38 +0200
  • b761d5fb12 Add comments regarding some of the changes in the GameActivity and the MainActivity uykek 2020-08-09 18:35:58 +0200
  • c57e753a26 Add JavaDocs and comments to the DailySudoku and DailySudokuColumns classes uykek 2020-08-09 18:26:17 +0200
  • a0e15e7508 Add JavaDocs and a few comments to some of the changed controller classes uykek 2020-08-09 09:44:31 +0200
  • 82297a8367 Add landscape layout for the game view of the CreateSudokuActivity uykek 2020-08-09 09:10:32 +0200
  • 6c46c78e49 Add circle button check box to all other variants of the MainActivity layout uykek 2020-08-09 08:28:33 +0200
  • 98dc83a6c9 Add JavaDocs to CreateSudokuActivity uykek 2020-08-04 09:02:51 +0200
  • 99803bd22f Add strings necessary for the modified onImportDialogPositiveClick method uykek 2020-08-04 09:01:43 +0200
  • 295c35710b Modify the parameters of the 'verify' method in CreateSudokuActivity and alter the method so that it catches IllegalArgumentExceptions thrown by the 'parseFixedValues' method of the GameInfoContainer class. uykek 2020-08-04 08:56:07 +0200
  • 6e638afe41 Modify onImportDialogPositiveClick of MainActivity so that it makes sure the input string has the right format uykek 2020-08-04 08:51:48 +0200
  • 67e73a6175 Adjusting the SettingsActivity Here it is checked whether the battery and system have the value true at the same time. In this case the Battery value is set to false to solve the problem that both options can have the same value. ErikWaegerle 2020-07-29 19:54:59 +0200
  • 954dffca34 Customizing the styles-night.xml Creating the items "rankingCircleSelected" and "rankingCircleNotSelected. So that the circle is also visible in Dark Mode. ErikWaegerle 2020-07-29 19:35:50 +0200
  • b79685f194 Fix bug that caused a NullPointerException in the GameActivity when importing a sudoku uykek 2020-07-26 17:13:02 +0200
  • 13bd2deee1 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 ErikWaegerle 2020-07-22 02:22:19 +0200
  • 89baff374f 1) Change of the displayed stars (no stars selected) if CheckBox is set to true. 2.)Selecting the playButton starts a new CreateSudoku Intent. 3.)Additionally the button label was changed (CREATE) and "Custom Sudoku" is displayed as difficulty level. ErikWaegerle 2020-07-22 02:10:15 +0200
  • 77520b0d72 Adapting the activity_main_menu.xml A CheckBox was inserted here, as this is better than a button in our case. Finally, the Checkbox was set up as a circle (vector file). ErikWaegerle 2020-07-22 01:51:35 +0200
  • 5668b2a33f Inserting the attributes "rankingCircleSelected" and "rankingCircleNotSelected". Is identical to "rankingStarSelected" but the new element is not a star. In addition, the color is adjusted in the colors.xml ErikWaegerle 2020-07-22 01:39:16 +0200
  • b91ea693d9 Insert create_game_src.xml This is required for the ImageButton. This makes it possible to check the status. ErikWaegerle 2020-07-22 01:34:01 +0200
  • 84964dd5e5 Insert the circle as a vector file. ic_circle_blue and ic_circle_grey have different colors for the case that the circle is selected once and once in the non-selected state. ErikWaegerle 2020-07-22 01:30:45 +0200
  • 3db3110618 Adjust generation of the daily sudoku so that challenges have a lesser probability of being generated than other sudokus, but generating them on the days they do appear won't take as long as before uykek 2020-07-21 10:43:54 +0200
  • a4b80b9ecc Fix a few constraints in the portrait layout of the DailySudokuActivity uykek 2020-07-21 09:50:37 +0200
  • efa6394f57 Override transition when navigating from MainActivity to DailySudokuActivity uykek 2020-07-18 15:46:12 +0200
  • 110013f8ca Flatten hierarchy of the DailySudokuActivity's portrait mode layout uykek 2020-07-18 15:43:17 +0200
  • a538517900 Customize the Manifest and GameActivity with scheme "http://sudoku.secuso.org". Make sure that WhatsApp accepts this as a valid link. ErikWaegerle 2020-07-16 00:50:49 +0200
  • 8027b8b409 Only add time and hints used in a Sudoku to HighscoreInfoContainer if sudoku isn't custom uykek 2020-07-14 10:08:42 +0200
  • f9d053a069 If the GameActivity receives an Intent carrying an imported sudoku containing the key 'isCustom', set 'isCustom' attribute of the created GameInfoContainer to 'true' uykek 2020-07-14 09:54:41 +0200
  • 54a4024dac Add extra 'isCustom' to Intent from CreateSudokuActivity so that the GameActivity will know that it is handling a custom sudoku uykek 2020-07-14 09:53:03 +0200
  • 2df51ac5ba Change the way a custom sudoku is saved (add 'true' at the end of the byte stream) so that the GameStateManager can recognise custom levels when loading the sudokus the user has saved on his device uykek 2020-07-14 09:50:48 +0200
  • 1c6be6e5c4 Add boolean 'isCustom' variable to GameInfoContainer and GameController uykek 2020-07-14 09:29:13 +0200
  • b12d085f27 Fix bug in MainActivity that caused the MainActivity to be re-opened, rather than the GameActivity being opened, upon successfully veriying an imported sudoku uykek 2020-07-11 14:40:38 +0200
  • b98014ad88 Fix bug that caused the GameActivity to assign the difficulty "unspecified" to all imported sudokus uykek 2020-07-11 14:33:23 +0200
  • 0ccb20ad19 Add string values for the ImportDialogFragment uykek 2020-07-09 08:41:07 +0200
  • 61fc0a243a Update layout of the ImportDialogFragment uykek 2020-07-09 08:38:06 +0200
  • ab90d7585b Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 uykek 2020-07-09 08:26:39 +0200
  • 863352d621 Fix problem that occured when starting a DialogFragment from the MainActivity's navigation bar uykek 2020-07-09 08:25:31 +0200
  • f53b4ba3fa Change IImportDialogFragmentListener interface uykek 2020-07-09 08:24:49 +0200
  • 92f2730265 Modify the activity_daily_sudoku.xml/strings.xml Adjust the text gravity to center and add the German translation ErikWaegerle 2020-07-07 22:45:32 +0200
  • aa4571a124 Adjusting the pref_help_general.xml ErikWaegerle 2020-07-07 22:03:08 +0200
  • e25da314ff bug fix Query the current SDK version to avoid complications when setting the switches in older versions. ErikWaegerle 2020-07-07 18:15:49 +0200
  • 9982c9f592 Adaptation of the GamePreferenceFragment class Modify the switches in the SettingsActivity If Dark Theme has been set manually, Dark Theme is displayed greyed out according to battery and system. Additionally it is only allowed to set one of both to the Dark theme, not both at the same time. ErikWaegerle 2020-07-07 16:56:32 +0200
  • d1615b4f5f Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 ErikWaegerle 2020-07-07 13:29:03 +0200
  • 553e98367e Add the ImportDialogFragment to the MainActivity. Turn the verification process of the CreateSudokuActivity into a static method that can be used by the ImportDialogFragment. uykek 2020-07-06 09:36:37 +0200
  • ca71badd39 Add new layout and listener for the sudoku import DialogFragment uykek 2020-07-06 09:35:13 +0200
  • 26b649e904 Add new 'import sudoku' drawer to main menu and necessary strings to the English and German strings.xml files uykek 2020-07-05 13:43:36 +0200
  • 515e922260 Use 'QQWing.hasUniqueSolution()' method instead of 'QQWing.solve()' method for the custom sudoku and import verification uykek 2020-07-05 12:52:29 +0200
  • 68b402fff7 Inserting the pref_settings_general.xml-v29 file Allows to load the different layout files for different SDK versions. For SDK >= 29 pref_settings_general.xml-v29 ErikWaegerle 2020-07-01 21:39:59 +0200
  • 2af00fd31c Replace hardcoded URL schemes in GameActivity and CreateSudokuActivity with constants uykek 2020-07-01 18:45:53 +0200
  • 47b83dc316 Add Intent to GameActivity to onFinalizeDialogPositiveClick() method of CreateSudokuActivity uykek 2020-07-01 18:35:06 +0200
  • 060b2c5740 Fix bug that caused the IFinalizeDialogFragmentListener to be called twice once the FinalizeDialogFragment is attached uykek 2020-06-30 21:13:14 +0200
  • 360847f99d Set GameType text view in CreateSudokuActivity uykek 2020-06-30 15:33:27 +0200
  • bf4f839cae Replace hardcoded Strings in the CreateSudokuActivity and the CreateSudokuSpecialButtonLayout with string attributes. uykek 2020-06-30 11:24:04 +0200
  • e420b1b558 Add a FinalizeDialogFragment using the CreateSudokuActivity as an IFinalizeDialogFragmentListener to the CreateSudokuSpecialButtonLayout class. The DialogFragment is called when the user clicks on the 'finalize' button. uykek 2020-06-30 11:07:37 +0200
  • 3bbb6576f9 Rename verify() method of CreateSudokuActivity so that it implements the onFinalizaDialogPositiveClick() method of the previously added interface and add the onDialogNegativeClick() method. uykek 2020-06-30 10:48:24 +0200
  • 8d19a2239d Add a listener interface for the finalization dialog of the CreateSudokuActivity uykek 2020-06-30 10:42:09 +0200
  • 83a148887f Delete CreateGameActivity dummy class. uykek 2020-06-30 10:34:57 +0200
  • 4bd4ec78f1 Replace stroke and fill color of finalize drawable with theme attributes uykek 2020-06-30 10:33:32 +0200
  • c41ca657fd Replace placeholder layout in CreateSudokuActivity with the CreateSudokuActivity layout uykek 2020-06-30 10:22:51 +0200
  • bc047addea Add private verification method to CreateSudokuActivity uykek 2020-06-30 10:14:30 +0200
  • bc88df46f1 Delete dummy activity from manifest uykek 2020-06-30 10:08:38 +0200
  • caf3bf3f9f Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 uykek 2020-06-30 10:07:17 +0200
  • 8d72312575 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 ErikWaegerle 2020-06-30 00:14:10 +0200
  • 66a620f5f8 Creating the dummy class CreateGameActivity Utility class to display the layout and not to have to customize GameActivity. Can be deleted! ErikWaegerle 2020-06-30 00:07:07 +0200
  • 0e4a03c94a Create the CreateSudokuButtonLayout class. Is identical to the SudokuSpecialButtonLayout slight modification to cover different cases. Provides the display of the different button types. ErikWaegerle 2020-06-30 00:00:52 +0200
  • ff8b9b9559 Creating the CreateSudokuSpecialButton class Modification for CreateSudokuButtonType. ErikWaegerle 2020-06-29 23:49:54 +0200
  • 0bf7e70e28 Creating the CreateSudokuButtonType The class contains the button types that are needed for the CreateSudoku. The hint button was removed from the list and the finalize button was added. ErikWaegerle 2020-06-29 23:45:55 +0200
  • efee6374d8 Creating the content_game_view_create_sudoku.xml The layout shows the playing field and contains the buttons. ErikWaegerle 2020-06-29 23:40:48 +0200
  • df34a57f90 Placeholder in Manifest.xml Create a new activity (CreateGameActivity) to test the layout. ErikWaegerle 2020-06-29 23:34:45 +0200
  • f2bbc38f14 Customization of the CreateSudoku layout Remove the time and the difficulty level in the ActionBar of the "CreateSudoku" display. & Include the content_game_view_create_sudoku ErikWaegerle 2020-06-29 23:16:05 +0200
  • 4d976abe16 Added a vector graphic for the "Finish" button for the Create Sudoku activity. ErikWaegerle 2020-06-29 18:00:27 +0200
  • edc16b8cec Creating the layout xml file for the "Create Sudoku" activity. ErikWaegerle 2020-06-29 17:57:47 +0200
  • e832e6c4ac Adjustment of the MainActivity, so that DarkTheme is still active with the activated battery or system status option. Dark Theme will remain if the app is closed. ErikWaegerle 2020-06-29 15:33:10 +0200
  • 38a708821a Adjusting the Settings Activity Implementation of the case distinction for manual modification of the Dark Theme. It is possible to adjust the Dark Theme according to battery status or system settings. ErikWaegerle 2020-06-29 15:25:19 +0200
  • abc34b899c Implement onCreate method of CreateSudokuActivity (for now using the button layouts of the GameActivity) uykek 2020-06-25 16:17:28 +0200
  • eb78716249 Adjustment in pref_settings_general Creating the two switches for "automatic by system" and "automatic by battery" ErikWaegerle 2020-06-24 20:44:47 +0200
  • 01865b1741 Adaptation of the pref_settings_general.xml Creating a preferenceSettings category for different settings of the DarkTheme ErikWaegerle 2020-06-24 19:21:50 +0200
  • b30ae90237 Override the onResume() and onBackPressed() methods of the CreateSudokuActivity uykek 2020-06-24 19:18:45 +0200
  • 9b9670c965 Add new activity for creating custom sudokus uykek 2020-06-24 19:02:35 +0200
  • 50f7260717 Adaptation of the GameActivity Dark Theme remains activated In case the GameActivity is loaded first by clicking a sudoku:// link ErikWaegerle 2020-06-24 18:47:01 +0200
  • 73e7fa3958 Adaptation of the MainActivity is loaded in Main Activity, that the dark theme remains activated when the app is opened again ErikWaegerle 2020-06-24 18:36:33 +0200
  • 1106ee84bb Adjusting the SettingsActivity Case discrimination with AppCompatDelegate to cover both cases. ErikWaegerle 2020-06-24 16:37:59 +0200
  • 650bd797ba Extension of pref_settings_general.xml with a switch. This is used to activate/deactivate the dark theme. Adaptation to German and English language ErikWaegerle 2020-06-24 16:33:44 +0200
  • 0f5ef95c01 Fix problem with previously added method that caused the generation of a challenge sudoku as the daily sudoku to be more, rather than less, likely uykek 2020-06-22 10:22:04 +0200
  • f2aa3460ff Modify NewLevelManager's loadDailySudoku() method so that the probability of the daily sudoku's difficulty being 'challenge' is only 10% uykek 2020-06-17 18:33:59 +0200
  • c115b6c990 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 ErikWaegerle 2020-06-15 18:44:15 +0200
  • 652095f975 Move the DailySudokuActivity to org.secuso.privacyfriendlysudoku.ui package ErikWaegerle 2020-06-15 13:55:49 +0200
  • 87a80de4b5 Change launchmode of GameActivityto 'singleTask' and add onNewIntent method to GameActivity uykek 2020-06-15 09:05:56 +0200
  • c8a6385e64 Adaptation of the GameActivity and Manifest.xml to include deeplinking ErikWaegerle 2020-06-13 20:16:51 +0200
  • bf9aee31ed Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 ErikWaegerle 2020-06-13 18:31:17 +0200
  • a8629fc75c Adjust GameInfoContainer and GameActivity so that importing a sudoku containing an invalid fixed value (e.g. a 9x9 sudoku containing an 'A' as a fixed value) no longer causes an exception. uykek 2020-06-13 15:56:37 +0200
  • 80fa401666 Adjust size of view element of DailySudokuActivity's landscape layout to match the regular layout more closely uykek 2020-06-13 15:44:43 +0200
  • 6c8848b803 Flatten layout hierarchy of the DailySudokuActivity landscape layout uykek 2020-06-12 15:23:14 +0200
  • c06968d217 Introduction of new attributes to change the background color (DarkMode/DayMode) of the tutorial slides (1-3) ErikWaegerle 2020-06-09 23:52:34 +0200
  • ee548697eb Adjusting the background color for Tutorial Slide 1-3 ErikWaegerle 2020-06-08 01:38:19 +0200
  • 2b7bf3cef0 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 ErikWaegerle 2020-06-08 01:32:22 +0200
  • c65a126a65 delete the statement android:textColor ErikWaegerle 2020-06-07 21:49:37 +0200
  • 3d8cae11b6 Add landscape layout for the DailySudokuActivity uykek 2020-06-07 16:17:38 +0200
  • f3225d9832 Update version: Deletion of the resource color files for the coloring of the selected element ->will be changed from blue to grey Delete the corresponding attributes and reverse the styles/night.xml ErikWaegerle 2020-06-07 14:58:23 +0200
  • 8dfa0f5317 Change onCreate() method of DailySudokuActivity so that the difficulty of the daily sudoku is only calculated once a day uykek 2020-06-07 11:40:45 +0200
  • 05cc8aec51 Add new dialog style to all AlertDialog instances within the app uykek 2020-06-07 10:34:23 +0200