Commit Graph

3479 Commits

Author SHA1 Message Date
leha-bot 187188cc84 Version 2.0.0-rc2
- Brand new logo!
 - Yandex.Maps as CMake-configurable option for displaying locations;
 - Partial update to API 72 (from API 71 of v1.1.23);
 - Minor bugfixes and refactorings.
2018-12-31 20:52:59 +03:00
leha-bot 72d5233a59 Document maps feature and how to enable it
[ci skip]
2018-12-31 05:23:06 +03:00
leha-bot 17e2bda404 Add optional support for Yandex.Maps static API
You could enable it via CMake option KEPKA_OPTION_USE_YANDEX_MAPS:
cmake -DKEPKA_OPTION_USE_YANDEX_MAPS=ON ..

It is used instead of Google Maps API for locations and on location click.
Sometimes Google Maps return no maps data. It is related with recent free
API usages count decrease from 750k requests to 28k (according to
https://habr.com/post/417715/).

The code on this commit should be cleaned up and rewritten using Maps API
string builders.
2018-12-31 04:44:12 +03:00
leha-bot 419705ed15 Add logo copyright info to README 2018-12-31 04:37:48 +03:00
leha-bot 8d681800e3 Happy new Copyright Year! (in winrc) 2018-12-31 04:18:45 +03:00
leha-bot 0dc9c0b8c7 Replace stock copyright-protected logo by ours
These logo variants are available under Creative Commons
Attribution Share-Alike License 4.0. See
https://creativecommons.org/licenses/by-sa/4.0/
(c) 2018 leha-bot.

The short guide about branding and logo usages
(from /Telegram/Resources/art) in Kepka:
1. logo_256.png/logo_256_no_margin.png -
 used in /Telegram/SourceFiles/window/main_window.cpp for loading logo
 (nowrap logo is used on Mac), in /Telegram/SourceFiles/messenger.[cpp|h],
 in /Telegram/SourceFiles/platform/linux/specific_linux.cpp and in qrc.
 Required for branding;
2. icon64.png - Doxyfile and MacOS image assets (they are duplicated in
 /Telegram/Telegram/Images.xcassets/[Icon.iconset|AppIcon.appiconset);
3. icon[<resolution>[@x2]].png - MacOS image assets. We will update
 these icons in next commit;
4. favicon.ico - seems unused;
5. icon256.ico - Windows Resource for EXE;

There is also a dangling reference inside
/Telegram/Resources/uwp/AppX/AppxManifest.xml. It shoud be fixed in some
of next commits.
2018-12-31 03:50:04 +03:00
crackedmind 284df273cb Remove unused code 2018-12-27 03:27:39 +03:00
leha-bot 21ea23741d Use {appname} for splash screen string
Also update usage in intro widget. Please note that the language strings
with placeholders must be created using {lang_id}(lt_{placeholder},
lang({placeholder}), where you should replace {lang_id} with your actual
language string identifier and {placeholder} with your actual string
data.
2018-12-24 02:56:10 +03:00
Friedrich von Never 9d4a8596dc Copy OpenSSL libraries to the output (#215)
[skip travis]
2018-11-11 23:10:35 +03:00
Berkus Decker 4fd2f16142 Clang-format 2018-11-01 00:12:21 +02:00
Berkus Decker ee47a1c904 Update .style files 2018-11-01 00:12:21 +02:00
Berkus Decker eed10ab487 Change xdg link data 2018-11-01 00:12:21 +02:00
Berkus Decker d3c5e4458e Fix codegenerated license headers 2018-11-01 00:12:21 +02:00
Berkus Decker 8e50d9637f Convert manually what couldn't be converted automatically 2018-11-01 00:12:21 +02:00
Berkus Decker 8fcbf45bba Convert license headers automatically 2018-11-01 00:12:21 +02:00
Berkus Decker 287b4f6611 Add license header converter 2018-11-01 00:12:21 +02:00
Berkus Decker 97011cd84a Convert last mentions of offical in strings 2018-11-01 00:12:21 +02:00
Stanislav Ershov ca8941eeeb Update docker image 2018-10-31 16:19:50 +03:00
Evgenii Zheltonozhskii 79367a7760 Print diff in case of clang-format output 2018-10-31 11:15:09 +03:00
Stanislav Ershov 1b9b2bbeed Remove empty line. Third-party list is more compact now [ci skip] 2018-10-28 22:19:41 +00:00
Stanislav Ershov 5d01f48192 workaround for cmake < 3.12 2018-10-28 23:03:07 +03:00
Stanislav Ershov 7f2cb4e155 Update kepka.spec for Fedora 2018-10-28 23:03:07 +03:00
Stanislav Ershov 6c2d2613ad Use FindPython3 cmake module to launch codegen_scheme 2018-10-28 23:03:07 +03:00
Friedrich von Never de6b51bc4e Convert build script to PowerShell
Close #205.
2018-10-27 21:48:50 +03:00
Evgenii Zheltonozhskii 2a341d77b1 Fix broken lambda (MSVC bug?) 2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii 25fbc2f7e1 Minor refactoring 2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii 4b78d52194 Fix more warnings 2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii 16318f93fc Remove now unused Generator::writeSetSearch 2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii f1b4a86cfe Fix unused variables, lambda captures. 2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii f526586bfb Delete Instance constructor, since its member constructor is deleted 2018-10-27 12:40:27 +00:00
Evgenii Zheltonozhskii e4478fd0fd Reformat 2018-10-27 12:28:53 +00:00
Evgenii Zheltonozhskii 0e7d653b32 Replace switch with map 2018-10-27 12:28:53 +00:00
Evgenii Zheltonozhskii 6bed3132ae Replace switch with map 2018-10-27 12:28:53 +00:00
Evgenii Zheltonozhskii af4cfd8a41 Fix generator 2018-10-27 12:28:53 +00:00
Evgenii Zheltonozhskii 0c4399431a Replace strings with raw strings in style 2018-10-27 12:28:53 +00:00
Stanislav Ershov ed2cceec57 Update config.h.in 2018-10-27 11:19:19 +03:00
Stanislav Ershov f85e740494 Rename Telegram.rc -> Kepka.rc.in
Configure Kepka.rc.in -> Kepka.rc
2018-10-27 11:19:19 +03:00
Stanislav Ershov ac62bc1469 Improve cmake 2018-10-27 11:19:19 +03:00
Stanislav Ershov 9cf55590c0 Fix some warnings 2018-10-24 02:34:15 +03:00
Stanislav Ershov e2e9b8aefc Fix compilation errors in conformance mode 2018-10-20 20:27:10 +03:00
Stanislav Ershov 5d336eb54f Enable conformance mode for MSVC >= 15.5 2018-10-20 20:27:10 +03:00
Evgenii Zheltonozhskii f4ae3d5e0d Replace mess with maps in lang_auto ( https://github.com/procxx/kepka/issues/196 ). Also fixes https://github.com/procxx/kepka/issues/59 2018-10-19 18:01:27 +00:00
Vladislav Isenbaev 56b40c4e31 OS X build fixes (#193)
The AppleClang 9.1 doesn't support std::is_invocable (introduced in f488d5f), so we have to use backported version from Facebook's Folly library which provides "batteries" for C++ and Standard Library's backports from C++14/17. Folly library is licensed under Apache 2.0 License which is compatible with GNU GPL v3.
Also set CMAKE_BUNDLE_DIR to CMAKE_INSTALL_DIR to avoid the CMake error "install TARGETS given no BUNDLE DESTINATION for MACOSX_BUNDLE executable" (seems it introduced in CMake 3.12.x).
2018-10-19 12:37:41 +03:00
Stanislav Ershov 7499968f84 Add doxygen target to cmake 2018-10-19 01:34:02 +03:00
leha-bot 8b5f81a218 Fix channel message pinning for channel moderators
The way of fixing this is weird and is a natural clutch. But we have to
live with it. And I hate it.

Note: all another function members movings from header file to source
are postponed to another commit.

This commit based on
75d8d01b17 (diff-efcc341e70654031bd8fee83d8b7105bR999)

Fixes #189.
2018-10-18 14:48:11 +03:00
leha-bot 04882ed746 Allow edit messages older than 2 days in sgroups
This feature is cherry-picked from
75d8d01b17 (diff-c0b32cc8ed01e3b1cdbfd5427184a41dL874)
2018-10-18 14:48:11 +03:00
Vitaly Zaitsev 9c4a0ee2dc Added Doxygen basic support.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2018-10-17 18:50:18 +03:00
leha-bot ef41b88b64 Add note about deprecated document 2018-10-15 20:33:12 +03:00
leha-bot 956a8bd22f Remove unused docs 2018-10-15 20:33:12 +03:00
Alex ae2a9880c1 [skip ci] Describe features in README 2018-10-15 20:33:12 +03:00