Tobias Frisch
7c93567279
Merge branch 'develop' into develop
2021-04-08 18:33:27 +02:00
Jan Wester
8884bac0ed
Added logging & proper argument parsing.
...
Sometimes you want to do just one thing, and in the process of
implementing that one thing, you implement several others. This is one
of those types of commits.
Implementing the argparse library is for the sake of controlling the
logging behaviour as well as other future I have yet to implement.
It has all the standard goodies you'd expect, and I have also ported
over the existing commandline arguments. (They may need a bit of polish
still, but there is no regression compared to before, only improvement.)
The logger is because it really needed to happen for numerous reasons.
It still logs to the terminal, but by default it only does so for
messages classified WARNING and above. These are the things we actively
want users to see. But if this is not good enough, adding the --verbose
flag will increasingly show more (-v shows INFO level and -vv also shows
the DEBUG messages) so that us coders don't have to miss anything in the
most convenient location.
It also logs to a file with the very original filename manuskript.log. I
may have to add commandline and/or settings arguments to improve that at
some point in the future, but there distractions are endless.
The log file contains timestamps and module information for easy
interpretation that are not present on the terminal, and it contains all
messages classified DEBUG and up. Ideally users will just be able to
attach it to an issue(*) to deliver us all the information we need to
help them with their inquiry.
Last but not least, the other reason I needed logging implemented is
that Qt has its own logging framework, and I needed to figure out how to
siphon out the data and make it shut up. But there was no point in doing
that as long as our own logging facilities were lacking...
(*) I have yet to convert all existing print statements over to the new
system, but that is probably going to be the next commit. This one has
enough change in it already.
2021-04-08 18:29:15 +02:00
Jan Wester
b41fb00b0d
Several tiny things squashed into one
...
All Models should have only one object managing them, and it is not the
class responsible for doing the welcome-related tasks.
Small .gitignore update
2021-04-08 18:28:53 +02:00
emgineering
bee24d45b0
Change ID assignment method for Outline
2021-04-08 09:57:36 -06:00
Tobias Frisch
2545f9c7a3
Merge pull request #793 from FrancoisDuchene/notEnoughArgsFix
...
Fix for TypeErrors when using certain app styles
2021-04-08 14:46:59 +02:00
Tobias Frisch
48fa9e4427
Merge pull request #851 from belug23/fix_fullscreen_display_monitor
...
Fix #456 - Force the distraction free window on the display of the main window
2021-04-08 14:11:15 +02:00
Belug
696678e25d
Fix #456 - Force the distraction free window to be display on the same screen as the main window
2021-04-07 20:43:37 -04:00
TheJackiMonster
83fae3f286
Fixed LanguageTool spellchecker working with newer versions
...
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2021-04-04 22:30:33 +02:00
Tobias Frisch
8faca87cef
Merge pull request #850 from rbb8403/bug-786
...
Fixed project not opening with missing background
2021-04-04 20:38:54 +02:00
Robert Barlow
a266b1bfff
Fixed project not opening with missing background
...
This is the quick way to patch this. I'd recommend changing the findFirstFile function in functions/__init__.py for a more permanent solution, but this should suffice for now.
2021-04-04 13:48:54 -04:00
J. Lavoie
f6ebd9baa0
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (861 of 861 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt/
2021-04-03 17:26:57 +02:00
J. Lavoie
14cf4f19f6
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 86.2% (743 of 861 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/zh_Hans/
2021-04-03 17:26:56 +02:00
Pedro Albuquerque
7e7881b81f
Translated using Weblate (Portuguese (Portugal))
...
Currently translated at 100.0% (862 of 862 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt_PT/
2021-04-03 17:26:56 +02:00
Tobias Frisch
4eadf5310c
Merge pull request #717 from moisesjbc/feature/global-search
...
Add global search
2021-04-02 17:23:13 +02:00
J. Lavoie
51e266dd8a
Translated using Weblate (Portuguese (Portugal))
...
Currently translated at 100.0% (862 of 862 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt_PT/
2021-04-02 16:41:38 +02:00
Moisés J
1e52af54e2
Add global search
2021-04-02 14:15:17 +01:00
Francesc Sanjuán farré
c206914784
Translated using Weblate (Catalan)
...
Currently translated at 4.6% (40 of 861 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/ca/
2021-03-22 16:29:54 +01:00
Francesc Sanjuán farré
01ac057705
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (861 of 861 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/es/
2021-03-22 16:29:53 +01:00
Francesc Sanjuán farré
2c7968a609
Added translation using Weblate (Catalan)
2021-03-21 14:25:12 +01:00
차용택
9a580b5e7c
Translated using Weblate (Korean)
...
Currently translated at 72.7% (626 of 861 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/ko/
2021-03-02 05:50:31 +01:00
Pedro Albuquerque
8b7836118e
Translated using Weblate (Portuguese (Portugal))
...
Currently translated at 100.0% (862 of 862 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt_PT/
2021-02-27 17:50:49 +01:00
Pedro Albuquerque
6219c2cfc7
Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (861 of 861 strings)
Translation: Manuskript/Translations
Translate-URL: https://hosted.weblate.org/projects/manuskript/translations/pt/
2021-02-26 17:48:56 +01:00
Tobias Frisch
e52818043d
Merge pull request #835 from lingsamuel/sigint-handler
...
setup signal handler to avoid accident data loss
2021-02-23 15:13:05 +01:00
Ling Samuel
41ebf87471
setup signal handler to avoid accident data loss
...
Signed-off-by: Ling Samuel <lingsamuelgrace@gmail.com>
2021-02-23 16:53:49 +08:00
Tobias Frisch
4e6fa117c9
Merge pull request #834 from BentleyJOakes/fix_crash
...
Properly disconnect add person connection.
2021-02-22 21:32:11 +01:00
bentleyjoakes
7e9fbf27fb
Properly disconnect add person connection.
2021-02-22 21:31:15 +01:00
TheJackiMonster
3effe5c7fa
Added more consistency to the context menu
2021-02-22 03:18:45 +01:00
Tobias Frisch
06aab9ce62
Merge pull request #690 from nagolinc/addWorldPlotCharacterButtons
...
added 3 buttons to the textEditView that allow quickly adding new items
2021-02-22 03:03:22 +01:00
nagolinc
22fdab3f46
added 3 buttons to the textEditView that allow quickly adding new items
...
add character takes parameter name
2021-02-21 20:06:17 -05:00
TheJackiMonster
0cb65c452e
Fixed cursor selection without suggestions
2021-02-22 01:26:07 +01:00
TheJackiMonster
ad21d5faa5
Fixed finding suggestions using enchant and word selection without external dictionary
2021-02-22 01:13:19 +01:00
TheJackiMonster
cc124c0b13
Older updates for some languages
2021-02-22 01:09:34 +01:00
TheJackiMonster
d27910449d
Fixed issue #817 with the settings style picking
2021-02-21 23:59:23 +01:00
Tobias Frisch
de02b1898b
Merge pull request #762 from gedakc/fix-python38-SyntaxWarning-is-not-with-a-literal
...
Fix Python 3.8 SyntaxWarning: "is not" with a literal
2021-02-21 23:46:22 +01:00
TheJackiMonster
12be4c3a3d
Fixed all Python syntax warnings
2021-02-21 23:45:34 +01:00
Tobias Frisch
6731051e92
Merge pull request #775 from BentleyJOakes/clone_importance
...
Clones importance setting when adding new characters.
2021-02-21 21:42:58 +01:00
bentleyjoakes
06e35cd969
Clones importance setting.
...
When creating a new character, sets an appropriate importance level.
* If a character is selected, the new character has the same importance level.
* If a top-level importance level is selected, the new character has that level
* Otherwise, the importance level is zero
2021-02-21 21:09:20 +01:00
TheJackiMonster
517559e7fa
Updated german translation for new features
2021-02-21 19:25:51 +01:00
Tobias Frisch
13d1f1bddd
Merge pull request #735 from johnbintz/select-newly-added-world-item
...
Select newly added world items, opening branches as necessary
2021-02-21 18:14:41 +01:00
TheJackiMonster
5ec4ab6fbe
Merge branch 'develop' of github.com:olivierkes/manuskript into develop
2021-02-19 18:02:50 +01:00
TheJackiMonster
303c48152e
Added qt creator project file for development
2021-02-19 18:02:36 +01:00
Tobias Frisch
e4ccd92b6b
Merge pull request #789 from DarkRedman/patch-1
...
Update manuskript_fr.ts
2021-02-19 17:01:40 +01:00
TheJackiMonster
cbb3f90d3d
Added qt-creator config to gitignore
2021-02-19 16:32:02 +01:00
Tobias Frisch
e18944ee4d
Merge pull request #748 from TheJackiMonster/optional-pov
...
Enabling/Disabling POV for a specific character
2021-02-19 16:02:56 +01:00
Tobias Frisch
e8c61e74ba
Merge branch 'develop' into optional-pov
2021-02-19 16:02:45 +01:00
TheJackiMonster
61734c1afa
Enabling/Disabling POV for a specific character
2021-02-19 16:01:30 +01:00
Tobias Frisch
ca5a987e3c
Merge pull request #747 from TheJackiMonster/languagetool
...
Added basic support for LanguageTool via 'language_check' as advanced spellchecker
2021-02-19 15:46:47 +01:00
TheJackiMonster
ac8cb3e403
Added support for LanguageTool via 'language_check' as advanced spellchecker
2021-02-19 15:44:38 +01:00
Tobias Frisch
649957835a
Merge pull request #768 from goofy-mdn/patch-1
...
typofixing here and there
2021-02-19 15:13:30 +01:00
Tobias Frisch
dffa9dbd8b
Merge pull request #746 from TheJackiMonster/charcount
...
Added char-count with settings to enable/disable it.
2021-02-19 15:09:02 +01:00