Commit Graph

160 Commits (93a91a95e95bcf4457fe0c6e2a809e20069df06a)

Author SHA1 Message Date
nupplaPhil 8f49ff2054
Fix missing Cache namespace 2020-01-19 16:35:10 +01:00
nupplaPhil f2fc22227a
cleanup namespace usages for L10n 2020-01-19 16:31:47 +01:00
nupplaPhil 48fecb9a40
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:46 +01:00
nupplaPhil a26bfe79e9
Remove unused `use` statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil febc835a2d
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:49 +01:00
nupplaPhil ea3a9052d8
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:56 +01:00
nupplaPhil 2ca621a92a
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:08 +01:00
nupplaPhil 335fcf670f
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-27 21:55:17 +01:00
Tobias Diekershoff cc7ea016ab curweather addon updates CA translation THX Joan Bar 2019-11-06 08:47:02 +01:00
Hypolite Petovan acdd62da3e [various] Replace deprecated defaults() calls by ?? operator 2019-10-17 11:08:46 -04:00
Tobias Diekershoff 9548250443 mark v1.2 2019-04-24 09:34:21 +02:00
Tobias Diekershoff 0d0e4e3d06 API response celsius and metric both mean to use °C as unit for the temperature 2019-04-24 09:29:32 +02:00
Tobias Diekershoff 08206fdcc0 Merge branch 'master' into develop 2019-01-21 10:04:26 +01:00
Hypolite Petovan c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
Hypolite Petovan 85b5715a44 Remove require include/* 2018-12-26 00:36:43 -05:00
Hypolite Petovan d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Adam Magness 07fcb9c62b A few missed
a few missed function calls.
2018-10-31 11:06:15 -04:00
Adam Magness 9079480d4a move to Renderer class
update functions calls for new Renderer class.
2018-10-31 10:55:15 -04:00
Philipp Holzer e67d810ecd
Move Global Functions - Part 3
- Replaced every CACHE_ definition
2018-10-20 18:22:13 +02:00
Philipp Holzer 1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
Hypolite Petovan 9e0c2ea01a [various] Update "mrpetovan" email address 2018-09-15 19:30:59 -04:00
Tobias Diekershoff dcbf2f4416 NL translation THX JeroenED 2018-08-25 21:12:02 +02:00
Tobias Diekershoff 22805275b6 PL translation curweather THX waldis 2018-08-06 14:30:44 +02:00
Roland Häder 9695138ba1
[global] Renamed class ProxyUtils -> Proxy and aliased it back to ProxyUtils 2018-07-31 03:20:29 +02:00
Roland Häder e269589c65
[global] CR request: Moved proxify*() methods to separate class 2018-07-31 03:20:04 +02:00
Roland Häder 7032e088f7
[global] Moved to Module\Proxy 2018-07-31 03:20:04 +02:00
Roland Häder 265a2c498e
[global]: Proxy class has been introduced, need to fix these as well. 2018-07-31 03:20:04 +02:00
Roland Häder f4763f67ad [curweather] x() no longer used and more (#669)
* [curweather] Fixes/rewrites:
- Added `App` as type-hint for $a and no & (call-by-reference) anymore
- use empty() instead of deprecated x()
- opening curly brace belongs into new line after function/method declaration
- added a lot other curly braces for better readability
- added spaces and empty lines

* [curweather] CR request:
- added/removed spaces
- added missing line-feed after opening curly brace

* [curweather] Another new line-feed added

* [curweather] CR request:
- added/removed extra spaces
- removed trailing spaces
- nicely indented code block with `'$foo' => 'bar'`

* [curweather] CR request:
- removed stray space
2018-07-24 20:18:59 -04:00
Andreas Neustifter b058ac39df [curweather] Fix widget layout. [friendica#5473] (#662)
See issue [friendica#5473](https://github.com/friendica/friendica/issues/5473) and PR#653.
2018-07-23 17:06:09 -04:00
Andreas Neustifter 81e57250e8 [curweather] Only shown notice about unavailable weather once per session. (#653)
* [curweather] Only shown notice about unavailable weather once per session.

* Fix even more whitespace.

As requested by @MrPetovan.

* [curweather] Reset session's curweather_notice_shown when weather available again.
2018-07-20 15:58:53 -04:00
Andreas Neustifter 3050aef871 Unify header level for weather widget. 2018-07-19 06:18:45 +02:00
Tobias Diekershoff 50ec0b800c uCS translation of the curweather addon THX Aditoo 2018-07-06 06:32:21 +02:00
Tobias Diekershoff ee173d2339 updated CS translation of the curweather addon THX Aditoo 2018-06-10 08:02:52 +02:00
Tobias Diekershoff ca50db103a update to the FI translations THX kris 2018-05-20 19:16:32 +02:00
Tobias Diekershoff 227ad8f23b translation updates NL, PL, FI and IT 2018-04-20 08:32:40 +02:00
Tobias Diekershoff 8da85c1d56 FI translation updates THX Kris 2018-04-18 08:32:45 +02:00
Tobias Diekershoff eb5eb5986d update to the FI translations 2018-04-09 15:00:17 +02:00
Tobias Diekershoff 85815a8810 added FI translations to many addons THX Kris 2018-04-06 13:58:38 +02:00
Tobias Diekershoff fb235f977d 2nd round 2018-04-01 20:02:21 +02:00
Tobias Diekershoff fe31514837 curweather PL translation 2018-04-01 11:54:05 +02:00
fabrixxm bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01:00
Adam Magness f151406355 Review updates
update renamed and moved functions
2018-01-27 11:23:04 -05:00
Adam Magness ca3c45101e Network was moved to src
update all function calls to use class, insert use statements and remove require_once statements
2018-01-27 08:52:02 -05:00
Adam Magness f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness 0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan 27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
Adam Magness b2ef5b6c58 Zoom level
I think 10 is a more appropriate zoom level, 9 was a little too wide
2017-11-18 11:15:38 -05:00
Adam Magness 51ef5bc2e9 OpenWeatherMap
The Show on map link was not working properly.
2017-11-18 11:11:09 -05:00
Adam Magness 036754e455 Move Cache to src
Cache class moved to Friendica\Core namespace
2017-11-09 11:08:32 -05:00
Adam Magness 48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
Fabio b5701ac885 Update IT strings 2017-01-18 14:04:53 +01:00
Tobias Diekershoff bbafef4280 IT curweather translation 2016-11-22 07:45:27 +01:00
Tobias Diekershoff 48d112f222 ES curweather 2016-11-10 10:42:50 +01:00
Tobias Diekershoff 40949204f1 DE translation for curweather 2016-09-26 12:20:24 +02:00
Tobias Diekershoff 6fdd8c2ab4 update to the curweather messages.po file for translation 2016-09-25 17:18:55 +02:00
Michael Vogel 10c13e4fe2 Merge pull request #374 from tobiasd/20160924-fr
FR update to the translation THX Hypolite Petovan
2016-09-25 07:09:46 +02:00
Tobias Diekershoff 9030e4c1a6 FR update to the translation THX Hypolite Petovan 2016-09-24 08:42:19 +02:00
Tobias Diekershoff 17f29ae08c correction of typos 2016-09-24 08:03:51 +02:00
Tobias Diekershoff afc875627e PT BR translation for curweather addon 2016-09-21 11:52:03 +02:00
Tobias Diekershoff 70beedf075 PT BR translations THX Beatriz Vital 2016-08-17 08:06:47 +02:00
Tobias Diekershoff a73286c0d0 DE update strings for curweather 2016-03-18 21:09:03 +01:00
Tobias Diekershoff 4c0914712a encode the degree for the translation 2016-03-12 08:12:19 +01:00
Tobias Diekershoff fd9cfc7f31 Merge pull request #301 from annando/1409-hourly-cache
Hourly cache for the curweather addon
2015-09-13 10:31:04 +02:00
Michael Vogel 2f2696c336 Hourly cache for the curweather addon 2015-09-13 08:30:40 +02:00
Tobias Diekershoff 09ba184198 FR update to the addon translations 2015-08-31 18:56:09 +02:00
Tobias Diekershoff 797ee03eb8 IT update to the addon translations 2015-08-31 18:52:41 +02:00
Michael Vogel d4c63ccc82 Merge pull request #284 from tobiasd/20150723
DE curweather addon, forgot the strings.php
2015-07-25 09:45:12 +02:00
Tobias Diekershoff 9f0fc2e46d DE curweather addon, forgot the strings.php 2015-07-23 17:38:49 +02:00
Tobias Diekershoff f800b09f3b DE update for the translations of curweather and irc addons 2015-07-19 12:28:29 +02:00
Tobias Diekershoff a70280de1d the icon needs more space to breathe 2015-07-17 17:43:41 +02:00
Tobias Diekershoff d25a0f6d72 make the icon using the image proxy 2015-07-17 16:57:58 +02:00
Tobias Diekershoff 7c6ae901d9 use icon for visualisation of current weather 2015-07-17 16:46:54 +02:00
Tobias Diekershoff ce637c5845 cleanup 2015-07-15 13:15:02 +02:00
Tobias Diekershoff e750412d87 added a note about XML/JSON to the README 2015-07-13 18:59:54 +02:00
Tobias Diekershoff cd48daa0b3 updating the strings 2015-07-13 18:46:55 +02:00
Tobias Diekershoff 2b1d28f05a curweather caching of weather data 2015-07-13 18:45:12 +02:00
Tobias Diekershoff c3459bd66c manually fetch data from openweathermap and parse it 2015-07-13 16:21:43 +02:00
Tobias Diekershoff 710780392c README cleanup 2015-07-13 13:28:47 +02:00
Tobias Diekershoff 24975c93cb avaid the hazzle, do it manually"
This reverts commit c0e27bbe80.
2015-07-13 13:24:58 +02:00
Tobias Diekershoff 317e8724c5 template for the widget should an error occur 2015-07-13 11:22:51 +02:00
Tobias Diekershoff c0e27bbe80 but keep the composer.json for reverence 2015-07-13 09:17:35 +02:00
Tobias Diekershoff 0d31af52ea Revert "added composer.json and needed libs"
This reverts commit 1f74d409a2.
2015-07-13 09:13:54 +02:00
Tobias Diekershoff c02fef3e1f minor additions to the README 2015-07-13 08:16:41 +02:00
Tobias Diekershoff f9c887e24d move widget HTML into smarty3 template and update styling 2015-07-13 07:05:55 +02:00
Tobias Diekershoff 02b29b2a6a use friendica temppath settings for cache data 2015-07-12 15:39:49 +02:00
Tobias Diekershoff 867f48aebe no appid logic not followed 2015-07-12 15:09:04 +02:00
Tobias Diekershoff 22cc81cbc5 had to remove the time for the last update again 2015-07-12 14:30:09 +02:00
Tobias Diekershoff 040a6be365 updating the message.po for the caching times 2015-07-12 08:57:22 +02:00
Tobias Diekershoff 7b1c6557f3 show selected cachetime in admin panel 2015-07-12 08:52:29 +02:00
Tobias Diekershoff cf06804bc8 include the last time updates as title of the header of the widget 2015-07-12 08:33:49 +02:00
Tobias Diekershoff 1c720a6824 cache OWM data 2015-07-12 08:18:24 +02:00
Tobias Diekershoff c1f26a22c3 typo 2015-07-11 20:59:00 +02:00
Tobias Diekershoff 4d6cfe14d0 curweather update message.po 2015-07-11 20:54:40 +02:00
Tobias Diekershoff 1f74d409a2 added composer.json and needed libs 2015-07-11 20:21:09 +02:00
Tobias Diekershoff 4f1fb007c5 remove unneded files 2015-07-11 20:20:09 +02:00
Tobias Diekershoff cda0d59060 added README for curweather 2015-07-11 20:17:54 +02:00
Tobias Diekershoff 631476ff6e use smarty3 for config forms 2015-07-11 20:17:33 +02:00
Tobias Diekershoff 4533ed9a34 updating the addon translations, missed some files due missing git fu 2015-04-03 13:17:32 +02:00
Tobias Diekershoff 1038ae0174 IT: imported translations 2014-09-14 22:01:44 +02:00