Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HUGE PR: new config framework for Headphones #2590

Open
wants to merge 90 commits into
base: develop
Choose a base branch
from

Commits on Mar 22, 2016

  1. Templates for config

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    3af0a5f View commit details
    Browse the repository at this point in the history
  2. fuckin pep8

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    f0cb45e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    53dc707 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ae7c11 View commit details
    Browse the repository at this point in the history
  5. Test Config : additional assertions, on config write. It is enough im…

    …portant to test that code.
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    031130c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    deb7207 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    648390a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8ef9ffd View commit details
    Browse the repository at this point in the history
  9. opt-hidden progress

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    ec90a60 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cd82bf8 View commit details
    Browse the repository at this point in the history
  11. Step: improve settings

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    200fc6f View commit details
    Browse the repository at this point in the history
  12. UPG: a lot of improvements for options

    style fix
    templates for labels
    drop old stuff
    and many other things
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    efde5e2 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    6e38c31 View commit details
    Browse the repository at this point in the history
  14. UPG : config viewmodel improvements

    * refactoring finished - all things related to options are placed to the config folder
    * separate file for base-types for options
    * 'me' instead of 'o' in templates
    * template for Tab (with 'message' property)
    * Property 'message' for tab
    * CSS: column-span mixin
    * improved sorting of Blocks (config)
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    9761c47 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c3faa4e View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4178fee View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    225839f View commit details
    Browse the repository at this point in the history
  18. UPG: intermediate version of new config. Able to read config using ne…

    …w model
    
    * datamodel for config - now it works with options in ini.file
    * option definitions in separate files
    * new sub-workflow: 'register option'
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    b27cfa3 View commit details
    Browse the repository at this point in the history
  19. UPG: config writing

    * Config could be written to the file
    * NEW: Internal options (like INTERFACE, SOFT_CHROOT ....)
    * Config UI : now the work with checkboxes in enough easy - no additional stuff required to work with posted booleans
    * UI : save button !!
    * readonly options (stub)
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    60b3259 View commit details
    Browse the repository at this point in the history
  20. UPG: javascripts are moved from config-templates to the config page (…

    …required to remove jquery link from top of the page)
    
    * removed scripts
    * fixed bug with python-docs in unittestcompat
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    770f738 View commit details
    Browse the repository at this point in the history
  21. TEST: removed unnecessary (tests for the internal stuff) tests for co…

    …nfig, and added new tests. FIXED bug with values of storable options
    
    * tests for boolext
    * removed check_setting-tests
    * omit log output for nosetests
    * fixed TYPE for storable option value (thx tests)
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    c9fec80 View commit details
    Browse the repository at this point in the history
  22. FIX : fix less

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    c4a6a7c View commit details
    Browse the repository at this point in the history
  23. FIX: style.less

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    97ad116 View commit details
    Browse the repository at this point in the history
  24. FIX: style.less

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    cde81ac View commit details
    Browse the repository at this point in the history
  25. squash me

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    3026f6e View commit details
    Browse the repository at this point in the history
  26. FIX: style for HP

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    fc0985c View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    fb28178 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    835ce70 View commit details
    Browse the repository at this point in the history
  29. FIX: fixed bugs in config and definitions

    * fixed bug with properties: python properties required `class Name(object):` - necessary parent describing
    * fixed bug in definitions: input.size replaced for input.maxlength, and actual values in defs are changed (critical API_KEY, 32 chars, not 20)
    * DOCS : added some docs to the code
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    0cb3c09 View commit details
    Browse the repository at this point in the history
  30. UPG: added parser of POSTed data for config module

    * UI config parser and accepter
    * another one block of options is rewritten
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    858b16c View commit details
    Browse the repository at this point in the history
  31. UPG: now config works!

    UPgrades:
    * new options types: OptionUrl, OptionDropdown
    * page for Downloads
    * Translatable captions for buttons (commit)
    * Fixed bug with 'ajax post' of config
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    b1b83dd View commit details
    Browse the repository at this point in the history
  32. FIX: css for options. Removed old config definitions, and 'float' lay…

    …out for Options was replaced with 'margins'-columns
    
    * More options rewritten in new way
    * CSS fix
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    6e2d77f View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    ce6994e View commit details
    Browse the repository at this point in the history
  34. UPG : new config-template: OptionDropDownSelector. It allows to selec…

    …t item from dropdown list, showing appropriate config-section with detailed options
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    37e84eb View commit details
    Browse the repository at this point in the history
  35. FIX: style.css regenerate

    [CI SKIP]
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    3d90cff View commit details
    Browse the repository at this point in the history
  36. UPG: 100% working OptionDropdownSelector

    * all scripts and well-tunes for OptionDropdownSelector
    * fixed `_update` method of `Config`. Now it works good with version values
    * finished config section 'Usenet' (on 'Download' tab)
    * `reinit` config file onload. Required for presence all options in the config file
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    f828c3c View commit details
    Browse the repository at this point in the history
  37. UPG : Complete 'Downloads' tab of Config page

    * added 'OptionDeprecated' and 'LabelExtension' as templates
    * small improvements in css
    * fixed another one bug with versions (ver.6 always rewrites the value of one of the option)
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    565bac2 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    484c6e9 View commit details
    Browse the repository at this point in the history
  39. FIX: pep8 and tests

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    6c78b70 View commit details
    Browse the repository at this point in the history
  40. FIX: pyflakes

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    cf3fe34 View commit details
    Browse the repository at this point in the history
  41. FIX: pyflakes and tests

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    3f863ce View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    2974339 View commit details
    Browse the repository at this point in the history
  43. FIX: simplified searcher.py uses the INTEGER value of option 'PREFE…

    …RRED_BITRATE', without conversions.
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    a0f38b8 View commit details
    Browse the repository at this point in the history
  44. UPG: restructured tab 'Quality and Post Processing'

    * fixed bug with `max` value of `OptionNumber`, now appropriate attribute added.
    * fixed bug with boundaries for values of existing `OptoinNumber`
    * new `OptionPercent`
    * separate panel for "Save changes" button
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    9a4ba59 View commit details
    Browse the repository at this point in the history
  45. FIX: pep8 and pyflakes

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    02cc796 View commit details
    Browse the repository at this point in the history
  46. TEST: improved coverage

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    5286b9a View commit details
    Browse the repository at this point in the history
  47. UPG: the half of Advanced tab

    * OptionCombobox for string-options with list of variants (implemented as <datalist>) see #12
    * a little bit more informational logging
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    5b588bb View commit details
    Browse the repository at this point in the history
  48. FIX: EXTRA-checkbox beaten. Now it is common option, without superdup…

    …ermagic on every config page. (see #12)
    
    * new options types: `OptionCheckboxList` and `OptionCheckboxListExtrasCrutch`
    * More poserfull way to create items of OptionDropdownSelector and OptionDropdown (copied from OptionCheckboxList)
    * small fixes in argument-names
    * another one step in LESS improvements
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    bb8e62e View commit details
    Browse the repository at this point in the history
  49. UPG: Config tab 'Advanced' almost done. There is just one trouble - s…

    …elect the same set of suboptions for several opts (see #12)
    
    * small fixes and improvements
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    259c62f View commit details
    Browse the repository at this point in the history
  50. UPG: hidden and readonly options (configured using config.meta.ini) (

    …fix #10)
    
    * fixed bug with api_generate button
    * small refactoring
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    8be9f4a View commit details
    Browse the repository at this point in the history
  51. UPG: Partialy localized (ru) !!

    * fixed some tiny bugs
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    f4e14b6 View commit details
    Browse the repository at this point in the history
  52. FIX: displaying of the appropriate block of settings on "advanced" fo…

    …r encoder options... (fix #12)
    
    * README for i18n and l10n
    * updated russian translation
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    22c490a View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    ca35772 View commit details
    Browse the repository at this point in the history
  54. UPG: NOTIFICATIONS tab

    major changes in `config`:
    * NOTIFICATIONS tab
    * Convert viewmodel `Block` to `BlockExtension`, with inheritance from `Renderable`
    * new way of registering options in config
    * procedure of setting new options to default value simplified. many code reused
    * fixed bug in `_datamodel`: probably `list`-typed options could became **list of list of list of list...* on save
    
    minor changes in `config`
    
    * CSS-class defnitions was moved from `input`-elements, to Option's parent `<div>`
    * decreased amount of `font-size` in CSS-definitions.
    * ++ docs about `config`
    * new option type: `OptionEmail` (currently, copy of `OptionString`)
    * ++ tests for `CssClassable`
    
    ----
    Bugs:
    fix #16
    fix #9
    see rembo10#2579
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    bc9f94c View commit details
    Browse the repository at this point in the history
  55. UPG: translations updated

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    cd0eefd View commit details
    Browse the repository at this point in the history
  56. UPG: Font awesome

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    6a0d896 View commit details
    Browse the repository at this point in the history
  57. UPG: Search tab DONE

    Additionally:
    
    * new option type: `OptionFloat`
    * MessageExtension (replaces LabelExtension)
    * webserve.py cleaned up from old [config] code
    * config datamodel: working with `None` values (intnullable, floatnullable)
    
    ---------
    
    see #13
    see rembo10#2580
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    fe1e4a8 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    bb65f58 View commit details
    Browse the repository at this point in the history
  59. UPD: Font awesome

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    b139525 View commit details
    Browse the repository at this point in the history
  60. UPG: soft chroot (fix #11)

    * fixed many bugs in HTML-templates
    * improved translations
    * CSS compressed
    * `unicode` added to primitives list of datamodel
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    be5fcdd View commit details
    Browse the repository at this point in the history
  61. Merge branch 'fix/unittestcompat-method-doc' into feature/hidden-opt-2

    Conflicts:
    	headphones/__init__.py
    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    1c57651 View commit details
    Browse the repository at this point in the history
  62. adsf

    maxkoryukov committed Mar 22, 2016
    Configuration menu
    Copy the full SHA
    a23e078 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2016

  1. UPG: release version of HIDDEN OPT

    * Added `OptionExtra` for configuring ExtraTorznabs and ExtraNewznabs
    * `PostDataParser` -> `ViewParser`, and now it is able to register many form data for one option. In other words, you could link many controls on the UI-form with one OPTION in config
    * javascript for `OptionBool` and `OptionSwitch` optimized (less classes)
    * `try-catch` in webserve.py on methods, related to working with config (improved logging)
    * translation updated
    
    fix #13
    maxkoryukov committed Apr 2, 2016
    Configuration menu
    Copy the full SHA
    e2aa959 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/hidden-opt-2' into feature/hidden-opt-pr

    COMPATIBLE with UPSTREAM/develop (2016-04-02)
    
    Conflicts:
    	data/interfaces/default/config.html
    	headphones/config.py
    	headphones/webserve.py
    maxkoryukov committed Apr 2, 2016
    Configuration menu
    Copy the full SHA
    84640ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    626cbf9 View commit details
    Browse the repository at this point in the history
  4. FIX: fixed errors in extra-torznabs, newznabs. Now worked well with '…

    …1', '0' as bool in config. Also, bug with one extra (when it casted as list, but was a pure string) fixed.
    
    * new type extracredentials
    maxkoryukov committed Apr 2, 2016
    Configuration menu
    Copy the full SHA
    d7a2123 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    919b88a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c9031d9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d7150e1 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2016

  1. Configuration menu
    Copy the full SHA
    092d4c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b3b8ae View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2016

  1. Configuration menu
    Copy the full SHA
    11859ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e43afe View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2016

  1. Configuration menu
    Copy the full SHA
    45f489c View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2016

  1. Sync branch with upstream (through merge, because rebase will take a …

    …lot of time)
    
    Merge remote-tracking branch 'upstream/develop' into feature/hidden-opt-pr
    
    Conflicts:
    	.travis.yml
    	data/interfaces/default/config.html
    	headphones/webserve.py
    maxkoryukov committed Apr 13, 2016
    Configuration menu
    Copy the full SHA
    fbe509d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9dbc518 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    800e9eb View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2016

  1. UPG: font awesome 4.6.1

    keep trying to fix safari bug for rembo10#2590
    maxkoryukov committed Apr 19, 2016
    Configuration menu
    Copy the full SHA
    524ec86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b94362 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2016

  1. New meta-options (#26) and fix for HTTP-headers for proxy

    * hidden-opt - now you could hide some items from dropdown lists with new meta `items-allow()`
    * extended HTTP settings of HP are moved to advanced tab: HTTP_PROXY and HTTP_BASE are converted from OptionInternal to appropriate types, and now they are visible, and accessible for configuring through WebUI
    * UPG: Font Awesome 4.6.1
    * FIX: an opportunity to set HTTP-header, used by CherryPy to determine origin url of proxy (when HP works behind proxy)
    * FIX: fixed template (OptionSwitch double caption)
    
    see rembo10#2616
    maxkoryukov committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    ee55c3c View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2016

  1. Configuration menu
    Copy the full SHA
    771ed21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c265743 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2016

  1. Tests in browser with SouceLabs+Selenium

    Integration with SouceLabs.
    
    Could help to prevent bugs, like a bug with FontAwesome in Safari
    
    see rembo10#2623
    maxkoryukov committed Apr 23, 2016
    Configuration menu
    Copy the full SHA
    5a352dd View commit details
    Browse the repository at this point in the history
  2. FIX: soft-chroot bug with path equals to chroot without slash fixed

    Slight improvements for softchroot
    maxkoryukov committed Apr 23, 2016
    Configuration menu
    Copy the full SHA
    cd2110f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5c01883 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    74740eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c72a1c1 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2016

  1. Configuration menu
    Copy the full SHA
    6433b02 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2016

  1. Configuration menu
    Copy the full SHA
    50e65f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43c5ed5 View commit details
    Browse the repository at this point in the history