Commit Graph

10 Commits

Author SHA1 Message Date
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +02:00
Lefucjusz
d6535a9814 [MOS-238] Change RNG used in quotes randomization
* Changed RNG used when randomizing quotes list
that was accidentally omitted in the previous
PR.
* Small cleanup around RandomizedQuoteModel.
2023-06-21 13:03:40 +02:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
wojtekrzepecki
853b0787df [EGD-8227] Refactor quotes db
refactoring of quotes db layout to conform with
given requirements
2022-02-02 09:50:24 +01:00
Bartosz Cichocki
7cdfb96db2 [EGD-6823] Add quote randomization
Added randomization of the quotes when quote wallpaper is selected
2022-01-18 10:15:58 +01:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
Mateusz Grzegorzek
5b0f2aa44a [EGD-6262] Refactor Quotes
- Connect QuotesMainWindow to work with agent,
- Use DatabaseModel in Quotes and Categories models,
- Connect add/edit/remove quotes with agent
2021-03-25 09:17:53 +01:00
Mateusz Grzegorzek
4d2eeeb97d [EGD-5932] Add the rest of queries to Quotes agent
Implement add/read/write/delete quote queries
2021-03-19 17:13:34 +01:00
Mateusz Grzegorzek
31b24ed4d3 [EGD-5932] Add more queries to Quotes agent
Added queries:
- list quotes from selected category,
- enable/disable category,
- enable/disable single quote,
- list enabled quotes,

Other fixes:
- move `msgHandled` and `msgNotHandled` to `Message.hpp`,
- use `typeid` in `QuotesAgent::registerMessages`,
- change `Quotes::Queries` style,
- make `quotesList` private

Queries to add in next PR:
- add/read/write quote
2021-03-17 13:55:20 +01:00
Mateusz Grzegorzek
898de0540c [EGD-5932] Create Quotes agent
- add Quotes agent,
- implement get all quotes
  and get all categories queries,
- extract PagedData from ListDirData
  and reuse it in QuotesMessages,
- unify naming in Quotes and FileIndexer,
- add Quotes agent unit tests
2021-03-09 16:43:22 +01:00