summaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
blob: 28f59ad436b4676634b607f6c5b0bbb7d3c99df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
-rw-r--r--
glances/plugins/gpu/__init__.py3
-rw-r--r--optional-requirements.txt2
-rwxr-xr-xsetup.py2
3 files changed, 3 insertions, 4 deletions
diff --git a/glances/plugins/gpu/__init__.py b/glances/plugins/gpu/__init__.py
index b807c51e..4d11ce9f 100644
--- a/glances/plugins/gpu/__init__.py
+++ b/glances/plugins/gpu/__init__.py
@@ -13,9 +13,8 @@ from glances.globals import nativestr, to_fahrenheit
from glances.logger import logger
from glances.plugins.plugin.model import GlancesPluginModel
-# In Glances 3.1.4 or higher, we use the py3nvml lib (see issue #1523)
try:
- import py3nvml.py3nvml as pynvml
+ import pynvml
except Exception as e:
import_error_tag = True
# Display debug message if import KeyError
diff --git a/optional-requirements.txt b/optional-requirements.txt
index c1cc69c1..309353e7 100644
--- a/optional-requirements.txt
+++ b/optional-requirements.txt
@@ -26,7 +26,7 @@ pycouchdb
pygal
pymdstat
pymongo; python_version >= "3.7"
-py3nvml; python_version >= "3.5"
+nvidia-ml-py; python_version >= "3.5"
pysnmp
pySMART.smartx
python-dateutil
diff --git a/setup.py b/setup.py
index c32e6e86..a70a0d1c 100755
--- a/setup.py
+++ b/setup.py
@@ -63,7 +63,7 @@ def get_install_extras_require():
'ibmcloudant', 'influxdb>=1.0.0', 'influxdb-client', 'pymongo',
'kafka-python', 'pika', 'paho-mqtt', 'potsdb', 'prometheus_client',
'pyzmq', 'statsd'],
- 'gpu': ['py3nvml'],
+ 'gpu': ['nvidia-ml-py'],
'graph': ['pygal'],
'ip': ['netifaces'],
'raid': ['pymdstat'],
id='n228' href='#n228'>228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691
owncloud-news (8.2.1)
* **Bugfix**: Do not abort full OPML import if one feed failed, #843
* **Bugfix**: Show error message when empty OPML file was imported, #924

owncloud-news (8.2.0)
* **Backwards incompatible change**: Move updater into separate repository at https://github.com/owncloud/news-updater and publish it on pypi
* **Bugfix**: Make the export/import buttons smaller so they fit in a line on ownCloud 9.0
* **Enhancement**: Marking an item as read will now mark all similar items of the same user as read, regardless of the feed, #465
* **Enhancement**: Add a link to the documentation and bugtracker in the settings area

owncloud-news (8.1.0)
* **Backwards incompatible change**: URLs for the Python updater must now start with either http:// or https://
* **Enhancement**: Change Python updater License from AGPL3+ to GPL3+
* **Bugfix**: Fix bug that would not package all JavaScript files for the app store zip, #959
* **Enhancement**: Add console API to update feeds in parallel
* **Enhancement**: Add an additional parameter to specify the loglevel for the Python updater
* **Enhancement**: Adjust Python updater to be able to use the console API. If you pass an absolute directory as url (path to your ownCloud), the updater will try to use **occ** updater commands using php. This requires no user or password arguments which makes running the updater on the same system as your ownCloud more secure

owncloud-news (8.0.0)
* **Backwards incompatible change**: The git repository does not bundle composer and bower libraries anymore, nor does it contain compiled JavaScript. If you are running the git version, you now need to run **make** after cloning and pulling from the repository to install the depenencies and compile the JavaScript
* **New dependency**: Bump minimum ownCloud version to 9.0
* **New dependency**: Bump minimum PostgreSQL version to 9.4
* **New dependency**: Bump minimum MySql/MariaDB version to 5.5
* **New dependency**: Bump minimum PHP version to 5.6
* **Bugfix**: Fix bug that would not lowercase non ASCII characters when searching, #944
* **Bugfix**: Fix bug that would not persist settings like compact mode on PostgreSQL, #948
* **Enhancement**: Add support for password protected feeds (HTTP basic auth), #938

owncloud-news (7.1.2)
* **Enhancement**: Major JavaScript library updates:
  * Update from Angular 1.3 to 1.5
  * Use Gulp instead of Grunt
  * CSS is not minified anymore to make CSS contributions easier
* **Enhancement**: Update picoFeed
* **Bugfix**: Fix bug that would sometimes break the rendering of the explore page

owncloud-news (7.1.1)
* **Enhancement**: Add vk.com to allowed iframe sources
* **Enhancement**: Add blog.fefe.de to German explore feeds
* **Enhancement**: Add Trump's video channel to English explore feeds

owncloud-news (7.1.0)
* **Backwards incompatible change**: Change explore URL API to request a file instead of URL parameter
* **Enhancement**: Improve explore feeds page design
* **Enhancement**: Add more feeds on the explore feeds page
* **Enhancement**: Add a list of German feeds for the explore page
* **Enhancement**: Allow to select other languages than the currently set language

owncloud-news (7.0.1)
* **Enhancement**: Show text preview in compact mode
* **Bugfix**: Fix bug that broke the app when using Italian translations , #913

owncloud-news (7.0.0)
* **New dependency**: Bump required ownCloud version to 8.2
* **Backwards incompatible change**: Remove console commands and instead run them after specific updates
* **Bugfix**: Fix bug that prevented non admin users from changing feed parameters, #903
* **Enhancement**: If a feed failed to update more than 100 times, show a hint in the web interface
* **Enhancement**: Overwrite active feed styling to make it look like in ownCloud 8.1, #897

owncloud-news (6.1.1)
* **Security**: Update picoFeed to add an [XXE fix for php-fpm](http://framework.zend.com/security/advisory/ZF2015-06) on systems with PHP <5.5.22 or >5.6 and <5.6.6. This issue allows any user with access to the News app to read abitrary files from the server. For more information read up on the [Zend advisory](http://framework.zend.com/security/advisory/ZF2015-06) and the [OWASP page](https://www.owasp.org/index.php/XML_External_Entity_%28XXE%29_Processing). Affected supported distributions include [Ubuntu 14.04](https://bugs.launchpad.net/ubuntu/trusty/+source/php5/+bug/1509817)

owncloud-news (6.1.0)
* **Backwards incompatible change**: Removed several web routes and feed service methods by generalizing feed object changes using a patch method
* **Enhancement**: Update articles if the pubdate is newer than the current one, #877
* **Enhancement**: Add feed setting to mark updated articles as unread, #882
* **Enhancement**: Made app compatible with ownCloud 9

owncloud-news (6.0.6)
* **Enhancement**: Align settings text properly, #829
* **Enhancement**: Update picoFeed to include additional feed rules

owncloud-news (6.0.5)
* **Bugfix**: Fix icon width for article action plugins
* **Bugfix**: Submit search on Firefox when hitting enter, #863
* **Enhancement**: Add user information API route

owncloud-news (6.0.4)
* **Bugfix**: Allow YouTube videos to go fullscreen, #857
* **Enhancement**: Group plugins in menu, #718

owncloud-news (6.0.3)
* **Enhancement**: Allow to pin feeds, #848

owncloud-news (6.0.2)
* **Bugfix**: Generate search index when importing articles
* **Enhancement**: Be less precise when jumping to the next article using a keyboard shortcut to prevent tiny jumps which are sometimes caused by re-rendering hiccups, #847
* **Enhancement**: Add RTL support

owncloud-news (6.0.1)
* **Enhancement**: Replace unlicensed PHP library with a licensed alternative

owncloud-news (6.0.0)
* **New dependency**: Require PHP 5.5
* **Support**: Drop CentOS support
* **Bugfix**: Fix bug that would not delete a user's table entries after deletion
* **Enhancement**: Add **news:verify-install** command to help diagnosing missing or out of date files
* **Enhancement**: Rather than always enhancing feeds based on rules, use picoFeeds full text feed capability
* **Enhancement**: Enable enhancers per feed rather than globally for rules available
* **Enhancement**: Add News app releases to example feeds in explore section

owncloud-news (5.3.9)
* **Bugfix**: Also warn when webcron is enabled since it is possible that the update will time out or only work sporadically, #828

owncloud-news (5.3.8)
* **Bugfix**: Make the searchbox reappear in 8.1

owncloud-news (5.3.7)
* Skipped because of wrong git tag

owncloud-news (5.3.6)
* **Bugfix**: Firefox: Mark article as read if middle click on the title is performed
* **Bugfix**: Firefox: Scroll to top before refresh to prevent accidentally marking articles as read

owncloud-news (5.3.5)
* **Bugfix**: Downgrade Angular from 1.4 to 1.3 due to several regressions
* **Bugfix**: Fix video playback for certain videos

owncloud-news (5.3.4)
* **Bugfix**: Do not reorder feeds and folders when their names are edited, #790
* **Bugfix**: Update links in cron warning notice

owncloud-news (5.3.3)
* **Enhancement**: Add shortcut for marking the current article's feed/folder read, #635
* **Bugfix**: When collapsing an article in compact view, remove content to stop playing audio/video from iframes, #787
* **Bugfix**: If expand in compact view is enabled, keyboard shortcuts will now expand the first item if the scroll position is at the top and the first item has not been expanded yet, #786

owncloud-news (5.3.2)
* **Enhancement**: Disable expand on key navigation setting if compact view is not enabled, #774
* **Bugfix**: Update picoFeed to the latest version to fix a bug that would cause the fetcher timeout setting to be ignored
* **Bugfix**: Make settings checkboxes clickable by themselves
* **Bugfix**: Hide menu (which only contains the mark read button) for all articles feed if all articles are read, #775
* **Bugfix**: Fix issue that would make it impossible to refresh by jumping to previous article once jump to next shortcut was used after the refresh drop down became visible, #770

owncloud-news (5.3.1)
* **Enhancement**: Make entire area for adding feeds and folders clickable
* **Enhancement**: Do not use as much space for longer headings in compact mode
* **Bugfix**: Also use the set curl timeout in addition to the connect timeout to react to timeouts after connections which is important for slow feeds, #763

owncloud-news (5.3.0)
* **Enhancement**: Make it possible to search articles in the search field. To migrate older articles to this functionality, check the README section "Updating from versions prior to 5.3.0", #185
* **Enhancement**: Stop video and audio playback if a new video or audio file is being played
* **Enhancement**: Do not stop playing podcasts when the feed is being reloaded or changed, #156
* **New dependency**: Bump required ownCloud version to 8.1

owncloud-news (5.2.8)
* **Bugfix**: Fix feed subscribe to URL
* **Enhancement**: Provide checksums for all files

owncloud-news (5.2.7)
* **Enhancement**: If the app is called with the subscribe\_to url parameter (e.g. **?subscribe_to=http://path.to/feed**) the feed input is prefilled with the address
* **Enhancement**: Register the app as feed reader in Firefox

owncloud-news (5.2.6)
* **Bugfix**: Update picoFeed to strip out contents of script and style tags which were previously converted into plain text, #723

owncloud-news (5.2.5)
* **Bugfix**: Fix flying loading icon since snap.js does not seem to want to fix it
* **Bugfix**: Turn all http iframes into https iframes
* **Bugfix**: Set a CSP to display external media on master

owncloud-news (5.2.4)
* **Enhancement**: Add a new API route to check for the status and possible problems

owncloud-news (5.2.3)
* **Enhancement**: Push explore button at the bottom of the feed list
* **Enhancement**: When passing a negative batchSizes to the item API, all items will be returned

owncloud-news (5.2.2)
* **Security**: Only allow YouTube and Vimeo to embed iframes if they use HTTPS to prevent mixed active content iframe attacks

owncloud-news (5.2.1)
* **Bugfix**: Fix admin settings by using the correct config path

owncloud-news (5.2.0)
* **New dependency**: Require iconv php module (which is required by picoFeed)

owncloud-news (5.1.1)
* **Bugfix**: Use the correct scrolltop position for pull to refresh to not reload the feed when jumping back to an article using keyboard shortcuts

owncloud-news (5.1.0)
* **Backwards incompatible change**: Break client side plugin API to combat limitations that make it hard to impossible to get the DOM element
* **New dependency**: Bump required ownCloud version to 8 beta 2
* **Enhancement**: Expose feed ordering parameter in API

owncloud-news (5.0.1)
* **Enhancement**: Show error messages when authentication or network related errors appear
* **Enhancement**: Show a pull to refresh area if you are at the very top and jump to the previous article using either page up or a jump to previous article shortcut. If this area is already visible reload the page
* **Enhancement**: Make it possible to overwrite the global ordering for certain feeds

owncloud-news (5.0.0)
* **New dependency**: Bump required ownCloud version to 8
* **Enhancement**: Set the rel="noreferrer" attribute for all links that point to external articles to enhance privacy

owncloud-news (4.3.2)
* **Bugfix**: Update picoFeed to fix an HTTP cache problem where only one match (Etag or Last-Modified) was required to mark a feed as not modified. This can cause some feeds to not update if one cache parameter is always the same
* **Enhancement**: If a feed is added without the protocol, prepend https:// instead of http:// (e.g. adding cnn.com would result in https://cnn.com being added)

owncloud-news (4.3.1)
* **Bugfix**: Update picoFeed to fix feed format detection, e.g. http://aroundthebloc.podbean.com/feed/ was previously not recognized as a valid feed
* **Enhancement**: Add thecodinglove.com and der-postilion.com enhancers
* **Enhancement**: Make it possible to define your own article actions by adding article action plugins

owncloud-news (4.3.0)
* **Backwards incompatible change**: Refactor the Python updater into a Python package. To stay with the old behavior without installing the package use **python3 -m bin/updater/owncloud_news_updater YOUROPTIONS**
* **Backwards incompatible change**: Use seconds instead of minutes for the Python updater interval
* **New dependency**: Require requests 2.5.0 for the Python updater
* **Enhancement**: Ship a systemd and sysvinit script + installer for the Python updater to run the updater in the background
* **Enhancement**: Log errors from Python updater to stderr
* **Enhancement**: Add metronieuws.nl article enhancer

owncloud-news (4.2.6)
* **Bugfix**: Wording fixes
* **Enhancement**: Add linuxtoday.com article enhancer
* **Enhancement**: Make expand entries in compact view after jumping to next/previous feed optional with a setting

owncloud-news (4.2.5)
* **Bugfix**: Fix keep unread shortcut in compact view

owncloud-news (4.2.4)
* **Bugfix**: Clicking the button to open a website in compact view now marks the article read
* **Bugfix**: Make read on scroll more sensitive in compact view to mark it read without having to completely scroll over the entry
* **Enhancement**: Better explanation for reverse ordering setting
* **Enhancement**: Do not expand entries in compact view when using the jump to next/previous article shortcuts since this makes it harder to keep an overview and the exact same behavior is available in expanded view anyways

owncloud-news (4.2.3)
* **Bugfix**: Fix cron update

owncloud-news (4.2.2)
* **Enhancement**: Use a light gradient at the bottom of the feed when no items are left to autopage

owncloud-news (4.2.1)
* **Bugfix**: Rewrite relative URLs

owncloud-news (4.2.0)
* **Security**: Fix [XEE](https://www.owasp.org/index.php/XML_External_Entity_(XXE)_Processing) vulnerability in picoFeed RSS library. All versions starting from 4.0.0 are affected
* **Enhancement**: Add admin setting to set a custom explore service URL
* **Enhancement**: Add explore button and show explore button on startup
* **Enhancement**: Show a hint when no articles are available
* **Enhancement**: Add spiegel.de enhancer
* **Bugfix**: Fix compact view in firefox 34 and browsers using the new flexbox model
* **Bugfix**: Show spinner when autopaging
* **Bugfix**: Remove race condition when fetching articles that sometimes shows read articles if the user clicks show on only unread and the article request finishes first before the settings request is finished
* **Bugfix**: Ignore Atom updated tag if it is earlier than the published tag
* **Bugfix**: Do not log errors that a subscription could not be found when http cache says nothing changed

owncloud-news (4.1.3)
* **Enhancement**: Fade out folders and feeds instead of just hiding them when the unread count drops to 0 and only unread articles should be shown

owncloud-news (4.1.2)
* **Enhancement**: Order feeds and folder sorting by title and name rather than by id

owncloud-news (4.1.1)
* **Enhancement**: shortcut **a** scrolls to the currently active feed in the navigation
* **Enhancement**: next/previous feed/folder shortcuts now scroll to the active entry if it is not fully in view

owncloud-news (4.1.0)
* **Backwards incompatible change**: Time used for updating when using the Python updater is now subtracted from the given interval meaning: if you specify 30 seconds as interval and the update takes 25 seconds, it will sleep for 5 seconds before running the next update
* **Enhancement**: Show a message if ajax cron is used to inform people of improperly configured cron
* **Enhancement**: Allow to specify configuration file for Python updater
* **Enhancement**: Add short command line options for the Python updater
 * -u, --user
 * -p, --password
 * -i, --interval
 * -s, --timeout

owncloud-news (4.0.4)
* **Bugfix**: Do not indent slashdot.org italic elements
* **Bugfix**: Hide folders when only showing unread articles after marking all articles as read

owncloud-news (4.0.3)
* **Bugfix**: Fix unstarring and starring articles added before 4.x

owncloud-news (4.0.2)
* **Bugfix**: Fix CORS headers for getting the version via the API
* **Enhancement**: Transform YouTube urls to allow subscribing to channels and playlists

owncloud-news (4.0.1)
* **Bugfix**: Fix heise.de encoding issues

owncloud-news (4.0.0)
* **Backwards incompatible change**: Calculate item ids differently which leads to unpreventable readding of read articles
* **Backwards incompatible change**: Get rid of simplePieCacheDuration setting, remove this setting from your data/news/config/config.ini after upgrading to 4.\*.*
* **Backwards incompatible change**: Use three numbers for versioning because core bug with versions seems fixed
* **Enhancement**: Add maxRedirects setting in config.ini
* **Enhancement**: Add maxSize setting in config.ini
* **Enhancement**: Get rid SimplePie feed parser library and switch to PicoFeed because SimplePie is unmaintained and full of bugs
* **Enhancement**: Faster feed updates due to proper HTTP cache headers thanks to picoFeed
* **Enhancement**: Use ownCloud internal proxy settings
* **Enhancemen