Recent Releases of https://github.com/caleb531/youversion-suggest-alfred

https://github.com/caleb531/youversion-suggest-alfred - v15.2.0

  • Added a new command-shift action to yvsearch results which will switch to yvfilter to filter by that particular Bible reference. This allows you to change the version or add on subsequent verses, after which you can then copy the reference contents or perform some other action

- Python
Published by caleb531 11 months ago

https://github.com/caleb531/youversion-suggest-alfred - v15.1.0

  • Added language support for Filipino (tgl)
    • The default version is Magandang Balita Biblia 2005 (MBB05)

- Python
Published by caleb531 about 2 years ago

https://github.com/caleb531/youversion-suggest-alfred - v15.0.0

YVS v15 is a major release with welcome new features, improvements, and other fixes. Please note that release requires Alfred 5.5, and this version of the workflow cannot be backported to Alfred 4.

New Features

Preview Mode

YVS v15 introduces a fully-featured preview mode (using Alfred 5.5's new Text View)! Now, if you hold down the Shift key when actioning a result, you can preview the contents of the reference directly in Alfred! This preview mode replaces the old Quick Look functionality.

Once you're in the preview mode, you can then use the usual keyboard shortcuts to act on the reference, including Command+Enter for copying the contents to the clipboard, and Control+Enter for searching the reference on the web.

Screenshot 2024-04-13 at 11 39 32 AM

Universal Actions

YVS v15 brings integration with Alfred's Universal Actions feature, enabling you to pass any arbitrary text to the workflow when you select it within an app or on a webpage. To use this, you must enable the Workflow Universal Actions checkbox in Alfred Preferences, under Features > Universal Actions > Actions.

In particularly, there are two universal actions available:

  1. Look up Bible address (e.g. if you select "Philippians 4:13")
  2. Search phrase in Bible

Copy URL to clipboard

You can also now copy the URL of the selected reference to the clipboard by holding down the Option key while actioning the result. This can be useful if you want to share the YouVersion link to a particular reference, rather than the textual contents of the reference.

Improvements

Latest Bible data from YouVersion

YVS v15 comes bundled with the latest Bible data from the YouVersion website. For details on what's changed, please see the diff on the youversion-suggest-data repository.

Error handling when setting preferences

If, for any reason, you encounter an error while trying to change a preference (i.e. using the yvset keyword), YVS v15 now spawns a notification indicating that it failed to set the preference.

Error handling when clearing cache

If, for any reason, you encounter an error while trying to clear the workflow cache (i.e. using the yvclearcache keyword), YVS v15 now spawns a notification indicating that it failed to clear the cache.

Housekeeping

Cleaned up workflow objects

The entire workflow has been rewired to utilize Alfred's External Triggers feature, which eliminates the tangled mess of connections between the various workflow objects. This means YVS v15 is significantly more maintainable and easier to tweak (if you are the adventurous type)!

Refactored test suite

The test suite has been refactored to be class-based, thus adhering to the conventional paradigm for writing unit tests with the unittest module. Additional tests have also been added for the new Preview Mode, as well as for other specific edge cases (e.g. related to reference formats).

- Python
Published by caleb531 over 2 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.2.2

  • Fixed a serious bug where Copy to Clipboard functionality broke completely due to recent changes YouVersion made to their web app

- Python
Published by caleb531 over 2 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.2.1

  • Fixed a bug where line breaks within verses would not be preserved (e.g. Psalm 23:1 in the NASB1995)

- Python
Published by caleb531 over 2 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.2.0

  • Added language support for Ukrainian (ukr)
    • CUV has been set as the default version for this language

- Python
Published by caleb531 over 2 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.1.5

  • Fixes a bug where extraneous whitespace would appear in verse content containing italicized words
    • Versions like NKJV (and perhaps NASB as well) were particular affected; if you use these versions, you are encouraged to update

- Python
Published by caleb531 almost 3 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.1.4

  • Fixes a small bug where the verse content would not display for each yvsearch result

- Python
Published by caleb531 about 3 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.1.3

  • Fixes a bug where extraneous content may end up in copied chapter content

- Python
Published by caleb531 about 3 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.1.2

  • Fixes a regression introduced in v14.1.1 that impacts the copying of verse content for select verses
  • Version v14.1.1 already fixes an issue with copying verse content to the clipboard, so if you are using v14.1.1 or older, you will definitely want to update

- Python
Published by caleb531 about 3 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.1.1

  • Fixes a bug where the content individual verses (or verse ranges) could not be copied to the clipboard
  • Fixes a bug where the internal caching optimizations introduced in v14.1.0 (see here) was not actually operating correctly

- Python
Published by caleb531 about 3 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.1.0

  • Fixed a critical bug where the "Copy to Clipboard" functionality would return an error for verses that have not been copied previously (#25); all users are encouraged to upgrade to this release
  • The internal caching mechanism has been optimized to use up to 70% less disk space

- Python
Published by caleb531 over 3 years ago

https://github.com/caleb531/youversion-suggest-alfred - v14.0.0

YouVersion Suggest v14 is a major new release with new features, an important bugfix, the latest Bible data from YouVersion, and overall stability improvements.

New features

  • Added a new "Line Breaks" preference which controls whether or not line breaks are included in copied Bible content
    • This can be useful for copying verses from books like Psalms and pasting them as a single line
  • Added a mechanism to automatically install the required Apple Command Line Tools if they are not already installed (or need to be updated)
  • Upgraded to the latest Bible data from YouVersion (this removes the MNT translation for English, and features updates for other languages)

Bug fixes

  • Fixes a serious issue where the yvsearch command would return no results (#24)

Under-the-hood

  • Improved the robustness of fetching Bible content and search results
  • Consolidating redundant code, simplifying complex logic, and adding additional test cases for improved stability
  • Decreased the maximum number of entries allowed in the content cache so YouVersion Suggest does not require as much space on your local machine

- Python
Published by caleb531 over 3 years ago

https://github.com/caleb531/youversion-suggest-alfred - v13.1.0

  • Added support for the Romanian bible (ron); the default version is VDC
  • Pulled the latest data from YouVersion for existing languages

- Python
Published by caleb531 over 3 years ago

https://github.com/caleb531/youversion-suggest-alfred - v13.0.1

  • Updated workflow icon to be latest Bible app logo
  • Fixed a typo in one of the preferences (i.e. when using the yvset command)

- Python
Published by caleb531 almost 4 years ago

https://github.com/caleb531/youversion-suggest-alfred - v13.0.0

  • Added support for Alfred 5
    • The latest Alfred 4-compatible release (v12.1.0) will continue to be available

Under-the-Hood

  • Migrated from nose to nose2 as the project's test runner / test framework
    • This enables support for Python 3.10 and future versions of Python, since nose is no longer maintained
  • Switched from Travis to GitHub Actions for CI pipeline

- Python
Published by caleb531 about 4 years ago

https://github.com/caleb531/youversion-suggest-alfred - v12.1.0

  • Added language support for Turkish (tur)
    • Use yvset language Türkçe to use the Turkish Bible; the default version is TCL02

- Python
Published by caleb531 over 4 years ago

https://github.com/caleb531/youversion-suggest-alfred - v12.0.0

  • Fixes compatibility with macOS Monterey 12.3, which replaced Python 2 with Python 3

- Python
Published by caleb531 over 4 years ago

https://github.com/caleb531/youversion-suggest-alfred - v11.4.1

  • Fixed a major bug where the Copy To Clipboard function would error for uncached Bible content

- Python
Published by caleb531 almost 6 years ago

https://github.com/caleb531/youversion-suggest-alfred - v11.4.0

  • Fixed a bug where "AMP" version could never match exactly (i.e. it would always prefer "AMPC")
    • Fixes https://github.com/caleb531/youversion-suggest-data/issues/1
  • Fetched latest Bible data from YouVersion

- Python
Published by caleb531 almost 6 years ago

https://github.com/caleb531/youversion-suggest-alfred - v11.3.1

  • Fixed a bug where pound signs (#) would appear in copied Bible verses (but only when the versenumbers setting was enabled)
    • This fixes #12

- Python
Published by caleb531 about 6 years ago

https://github.com/caleb531/youversion-suggest-alfred - v11.3.0

  • Added language support for Khmer (Cambodia)

- Python
Published by caleb531 about 7 years ago

https://github.com/caleb531/youversion-suggest-alfred - v11.2.0

  • Added language support for Vietnamese
  • Updated the workflow icon to use the official Bible app logo (the old YouVersion logo is no more)

- Python
Published by caleb531 about 7 years ago

https://github.com/caleb531/youversion-suggest-alfred - v11.1.0

New Features

  • Added a new "Copy By Default?" preference which, when enabled, makes "Copy to Clipboard" the default action
    • In other words, when this preference is enabled, pressing the Enter key will copy the reference contents to the clipboard, and pressing Cmd-Enter will view the reference on the YouVersion website (rather than the other way around)
    • You can change this setting by typing yvset copybydefault into Alfred
  • Added a new yvhelp command which serves as a quick shortcut for creating a new issue on GitHub

Other Changes

  • Increased the request timeout for fetching data from 3 seconds to 5 seconds
  • Upgraded the Bible data store (youversion-suggest-data) to v3.0.0

- Python
Published by caleb531 about 7 years ago

https://github.com/caleb531/youversion-suggest-alfred - v11.0.0

  • Officially added support for Alfred 4

- Python
Published by caleb531 about 7 years ago

https://github.com/caleb531/youversion-suggest-alfred - v10.1.0

  • You can now choose to include verse numbers in the Bible content copied to your clipboard
    • To set this, type yvset versenumbers into Alfred
  • Verses from The Message translation (MSG) are now properly formatted when copied to the clipboard in all cases

- Python
Published by caleb531 about 7 years ago

https://github.com/caleb531/youversion-suggest-alfred - v10.0.0

YouVersion Suggest v10 is a major release with more options for copying Bible references, several speedups to filtering, and overall better usability.

New Features

  • Added a new preference called "Reference Format", which defines the format of copied Bible references. You can find available options by typing yvset refformat
  • The Filter Reference feature now shows the last chapter/verse when the chapter/verse you entered does not exist; for example, "ps 23.3-9" now displays "Psalm 23:3-6" (since there are only 6 verses in Psalm 23)
  • yvset version now displays the full name of every version (not just the abbreviation)
  • The Copy to Clipboard feature now notifies you when there an error ccurred
  • The yvset command now matches available values by word (e.g. yvset language esp lat will now match Español (América Latina) as expected)
  • Made small improvements to the performance of the yvfilter command to be more responsive to quick typing

- Python
Published by caleb531 over 7 years ago

https://github.com/caleb531/youversion-suggest-alfred - v9.1.1

  • Change the default Indonesian version from BIMK to TB (per user request)

- Python
Published by caleb531 almost 8 years ago

https://github.com/caleb531/youversion-suggest-alfred - v9.1.0

  • Added support for Indonesian (ind)

- Python
Published by caleb531 almost 8 years ago

https://github.com/caleb531/youversion-suggest-alfred - v9.0.0

  • Rewrote the book-matching algorithm to match at the word boundary
    • Typing "c" will not just match Colossians, but now also 1 and 2 Corinthians, as well as 1 and 2 Chronicles
  • Moved Bible data and associated resources (tests/schemas) to a separate repository: https://github.com/caleb531/youversion-suggest-data
    • The Bible data within this project is now included as a submodule
  • Upgrade all project dependencies to their latest versions
  • Added Nahum to the list of Bible books for all languages
    • The book is part of the Old Testament canon, but has been unfortunately missing

- Python
Published by caleb531 over 8 years ago

https://github.com/caleb531/youversion-suggest-alfred - v8.1.0

  • Auto-suggested versions are now prioritized by popularity, giving you better results with less typing (e.g. mat3e now uses ESV instead of ERV)
  • Fixed a bug where version names containing dashes (such as CUNP-上帝 for Traditional Chinese) were ignored and therefore could not be selected
  • Restore code coverage to 100%

- Python
Published by caleb531 about 9 years ago

https://github.com/caleb531/youversion-suggest-alfred - v8.0.3

  • Fixed a critical bug where Bible references could not be opened in a web browser on macOS 10.12.5
  • Updated book data fetcher in accordance with YouVersion's latest web UI
  • New/updated Bible versions for the following languages:
    • Arabic
    • Bulgarian
    • English
    • Hindu
    • Korean
    • Portuguese - Portugal
    • Spanish

- Python
Published by caleb531 about 9 years ago

https://github.com/caleb531/youversion-suggest-alfred - v8.0.2

  • Updated reference URLs in accordance with the latest YouVersion web update
    • All v8 users should upgrade for a faster experience viewing and copying Bible references

- Python
Published by caleb531 over 9 years ago

https://github.com/caleb531/youversion-suggest-alfred - v8.0.1

  • Parse qc breaks (like those in Revelation 4:8) contained within copied reference content
  • Add 3-second timeout to URL content requests to prevent hanging requests

- Python
Published by caleb531 over 9 years ago

https://github.com/caleb531/youversion-suggest-alfred - v8.0.0

  • New Versions
    • Added 26 new versions to English
    • Added 15 new versions across 13 other languages
  • Improvements
    • Data fetched from the YouVersion website is now compressed automatically
    • This can potentially reduce the time to search Bible content or copy references to the clipboard
    • Improved the yvset filter to be more intelligent when filtering possible values for preferences
    • Fixed a bug where changing languages would not refresh cached content
    • Added a contributing guide for the benefit of other developers who wish to contribute to the development of YouVersion Suggest
  • Backend improvements
    • Upgraded the internal language code format from ISO 639-1 to ISO 639-3
    • YouVersion now uses ISO 639-3 to identify all languages that it supports for Bible content
    • Language data files have been renamed to their ISO 639-3 equivalents (e.g. language-es.json => language-spa.json)
    • Added backwards-compatibility layer to ensure that existing installations of YouVersion Suggest can upgrade smoothly to v8
    • Language utilities
    • Rewrote add_language utility to eliminate pyquery dependency
    • Unit tests
    • Added unit tests for all workflow modules and utilities
    • Code coverage remains at 100%, but now encompasses more files than previously
    • Project management
    • Upgraded all project dependencies to their latest versions
    • Added isort dependency to ensure the import order and format of every Python file is compliant with PEP 8
    • Removed invoke task runner; Bash aliases/functions are faster and more flexible substitutes to Invoke tasks

- Python
Published by caleb531 over 9 years ago

https://github.com/caleb531/youversion-suggest-alfred - v7.1.0

  • Added support for Traditional Chinese (zh-TW)
  • Added additional utilities for updating language data
  • Other miscellaneous tweaks

- Python
Published by caleb531 over 9 years ago

https://github.com/caleb531/youversion-suggest-alfred - v7.0.1

  • Fixed a bug where paragraphs between quotations in Bible content would not be surrounded by blank lines when copying such content to the clipboard
  • Upgraded Alfred Workflow Packager to v1.1.0

- Python
Published by caleb531 almost 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v7.0.0

  • Removed all search engine preference functionality in favor of Alfred's native Default Web Search workflow object
    • See README for how to now set default search engine for YouVersion Suggest
  • Switched to using Alfred Workflow Packager for packaging and exporting workflow during development
    • Run awp from the project's root directory to copy the relevant project resources to the installed workflow
    • Run awp --version to set the version of the installed workflow (e.g. awp --version 4.1.0)
    • Run awp --export to export the installed workflow to the project directory

- Python
Published by caleb531 about 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v6.2.0

  • Updated "Copied to clipboard" notification to include the identifier of the reference being copied
  • Display a notification after setting a preference (language, version, or search engine)
  • Display the current value alongside each preference listed for the yvset filter
  • Switched from using {query} to using argv for reading input
  • Made many improvements to the workflow updater script
  • Upgraded radon package (used for testing code complexity) to v1.4.0

- Python
Published by caleb531 about 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v6.1.0

  • You can now press shift while a result is selected to preview the contents of the respective reference with Quick Look
    • This is especially useful when finding verses with yvsearch without losing your place in the search results
  • Switched from XML to JSON for result list feedback format
  • Upgraded project dependencies

- Python
Published by caleb531 about 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v6.0.0

  • v6.0.0 marks the first release of YouVersion Suggest that is compatible with Alfred 3 only; Alfred 2 is no longer supported
    • The latest Alfred 2-compatible release of YouVersion Suggest (v5.0.0) is still available for download in this repository

- Python
Published by caleb531 about 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v5.0.0

  • Added a complete caching system to improve the speed of searching by content and copying references to the clipboard
    • Added all necessary unit tests to ensure correct behavior
  • Added language support for Swahili (sw)
  • Rewrote preferences filter to be more robust
    • Added and revised tests for filtering preferences
  • Added unit tests ensuring that all source files have the proper module/encoding headers
  • Fixed a major bug in which running unit tests would manipulate the host machine's user preferences (rather than manipulating a separate, temporary copy of user preferences)

- Python
Published by caleb531 over 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.6.0

  • Fixed a bug where non-ASCII languages (such as Español or العربية) could not be filtered via the yvset filter
  • Renamed the searchEngine preference to search_engine for greater consistency with everything else
    • Added code to maintain backwards compatibility; the next time you run YouVersion Suggest, your preferred search engine will be kept
    • The now-deprecated searchEngine key will be removed and declared unsupported in the soon-to-be-released YouVersion Suggest v5. To ensure that your preferred search engine is kept, upgrade to v4.6 before upgrading to v5. If you haven't changed your preferred search engine to something other than Google (the default), then you can upgrade directly to v5 without any trouble.

- Python
Published by caleb531 over 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.5.0

  • Added language support for Persian (fa)
  • Added language support for Bulgarian (bg)
  • Corrected several misspelled book names in the Spanish (es) language file
  • Fixed several self-cancelling bugs in the 'search reference' unit tests
  • Added schema for the search engines data file
  • Revised other data file schemas to improve precision, reduce redundancy, and improve overall consistency
  • Upgraded coverage and flake8 packages
  • Added additional code comments to improve code quality
  • Restructured conditional logic in HTML parsers to reduce redundancy and improve readability

- Python
Published by caleb531 over 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.4.3

  • Upgraded project dependencies
  • Added several unit tests to bring coverage back up to 100%
    • Tests handle cases where some originally-assumed givens are nonexistent
  • Made minor tweaks to the verse-copying script to reduce complexity
  • Revised several code comments to improve clarity and consistency
  • Rewrote several getter functions to be simpler and clearer

- Python
Published by caleb531 over 10 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.4.2

  • Fixed major bug introduced in v4.0.0 (but only applicable to v4.4.0+) where existing user preferences would not be updated with newly-added preferences (e.g. the recently-introduced new search engine preference)

- Python
Published by caleb531 almost 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.4.1

  • Updated README
    • Revised and reformatted markup
    • Added documentation for setting your preferred search engine
  • Fixed a bug where choosing a preference (when using yvset) would not autocomplete the preference name
    • Added unit test to ensure this bug does not recur
  • Improve leniency of query parser which handles setting preferences such that

- Python
Published by caleb531 almost 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.4.0

  • Added alternative search engines including Bing and DuckDuckGo
    • You can change your preferred search engine using the yvset keyword
    • As described in the README, you can search the selected reference using your preferred search engine using the ctrl modifier key
  • Eliminated inefficiency which caused default preferences to be loaded in addition to user preferences even if user preferences already existed
  • Added support for Polish (pl)
  • Non-numbered queries no longer match numbered books when filtering references
    • e.g. The query c3 now matches Colossians 3 alone and no longer includes 1 Corinthians 3

- Python
Published by caleb531 almost 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.3.0

  • Added support for Korean (ko)

- Python
Published by caleb531 almost 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.2.0

  • Added support for the following languages:
    • Spanish - Spain (es-ES)
    • Italian (it)
    • Portuguese - Brazil (pt)
    • Portuguese - Portgual (pt-PT)
    • French (fr)
    • German (de)
    • Japanese (ja)
    • Hindi (hi)
    • Russian (ru)
    • Arabic (ar)
  • Fixed bug in which punctuation in a book name would be ignored when filtering by reference
    • Added unit test to cover this edge case

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.1.0

  • Added support for Finnish (fi)
  • Upgraded project dependencies
  • Covered case where workflow attempts to create data directory when it already exists
    • Added unit test to verify this
    • This fixes test coverage, which was listed at 100% but was actually at 99.55% (and thus rounded to 100%). Coverage is now actually 100%
  • Fixed style of test docstrings to conform to Python convention
  • Fixed a bug in which the workflow utility would always write to the installed owrkflow's info file even if nothing has changed.

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.0.2

  • Added flake8 package to allow for in-editor code quality checking
    • These are not unit tested because flake8 is purely CLI-based, however editor plugins allow the display of feedback within the editor
  • Upgraded project dependencies
  • Removed unused modules and variables
  • Renamed variables to conform to PEP 8 conventions
  • Added --export option to workflow utility which packages and exports the installed workflow to the project directory
  • Improved efficiency when retrieving Bible books that match the given query

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.0.1

  • Revised and improved wording of README
  • Upgraded project dependencies
  • Rewrote invoke task for running unit tests and viewing coverage reports
  • Added invoke task for updating installed workflow using workflow utility
  • Rename variables to be names other than Python builtins in unit tests
  • Made all regular expression strings raw strings
  • Fixed incorrect file headers for project utilities
  • Updated names of all constant variables to be uppercase

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v4.0.0

  • Added yvsearch filter which searches YouVersion for verses related to the given query
    • e.g. "without faith" => Hebrews 11:6
    • See README for full usage details
    • Module is fully unit tested, with all cases covered
  • Renamed yv filter to yvfilter (still filters Bible references)
    • To type this easily, type yvf and press the tab key (as this will expand to yvfilter)
  • Removed cases handling chapter/verse numbers of zero
  • Converted all Python imports to absolute imports
  • Fixed bug in language utility which prevented it from accessing YouVersion
  • Reorganized shared components and moved accordingly components that weren't actually shared between two or more modules
  • Added a test generator for ensuring that all project functions have a cyclomatic complexity less than or equal to 10
  • Fixed issue where tests were being run twice on build
  • Re-added rednose and added several new dependencies
  • Added to each file a header comment that identifies it
  • Wrote a workflow utility which updates all necessary files/scripts in an installed copy of the workflow with their latest versions from the current project
    • See utilities/update_workflow.py

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v3.5.1

  • Ensure "copy to clipboard" script can access YouVersion

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v3.5.0

  • Pressing Command-C when a result is selected will now copy the respective reference identifier to the clipboard
    • e.g. 1 Corinthians 13:4-7 (ESV)
  • Pressing Command-L when a result is selected will show the respective reference identifier as Alfred Large Type
  • Removed rednose and its dependencies from list of project dependencies
    • However, use rednose if it's available
  • Rewrote task functions to use coverage instead of nose

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v3.4.0

  • Renamed project's main module to yvs for more concise names and better adherence to Python convention
  • Updated language utility
    • Parameterized functions to receive and return only the necessary parameters (as opposed to passing and mutating a single parameters object which contains everything)
    • Improve consistency and resilience in how the language utility handles character encodings

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v3.3.1

  • YouVersion Suggest now filters out results for nonexistent chapters
    • Previously, the workflow would show the last chapter of each book if the given chapter exceeded the total number of chapters for that book
    • Update unit tests in accordance with this change
  • Upgraded project dependencies to latest versions

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v3.3.0

  • Reimplemented preferences UI to show available preferences which can be set
    • Add additional unit tests to verify the proper functioning of this behavior and its implementation
  • Froze project requirements to ensure that dependency updates don't break the project
  • Refactored unit tests
    • Switched to using temporary preferences file for unit tests to avoid tampering with user preferences file
    • Switched to using patchers for mocking relevant modules
  • Removed several vestigial helper functions

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v3.2.0

  • The content of any Bible reference can now be copied to the clipboard
    • Simply hold down the command key when choosing a reference from the result list
    • Added many unit tests verifying that all aspects of the feature work properly
  • Refactored all unit test helper functions to be decorators instead of context managers
    • This should reduce file size (no indenting) and improve readability

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v3.1.0

  • Added support for Swedish (sv)
  • Added inline documentation (comments) for included language utility
  • Improved language utility's ability to handle multiple versions with same name (acronym)
  • Eliminated unnecessary encoding declarations throughout codebase

- Python
Published by caleb531 about 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v3.0.0

  • Add support for simplified Chinese (zh-CN)
  • Remove ability to view recently-opened references

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v2.2.1

  • Doubled the maximum number of recent references
  • Fixed a bug which caused the chapter number of the first result to "carry down" into subsequent results
  • Fixed a bug in which the filter would return no results if the given verse number was zero

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v2.2.0

  • Added the ability to view recently-opened references using the yvrecent keyword
  • Improved the language-adding utility to be more intelligent and resilient

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v2.1.0

  • Searches for nonexistent chapters will now return the last chapter of the respective book
    • e.g. the query "psalm 160" will yield the result "Psalm 150"
  • Search queries consisting of only a single number will not return books which begin with that number
    • e.g. the query "2" will yield 2 Samuel, 2 Kings, etc.
  • Added additional unit tests verifying that non-ASCII characters are interpreted properly

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v2.0.0

  • Added multi-language support
    • Added Spanish and Dutch as alternative languages, though any other language can be easily added
    • If you would like support for another language added to the workflow, submit an issue indicating such
  • The preferred language and preferred version can now be set via the new yvset keyword
    • See the README for details on usage
  • YouVersion Suggest now intelligently guesses misspelled books/versions
    • e.g. "Relevations 7" will be correctly interpreted as "Revelation 7"

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.6.0

  • Google searching: holding down the ctrl key when choosing a result will open a Google search for the selected reference
    • Added unit test to verify the proper functioning of this feature
  • Updated parser to be much more intelligent in recognizing various forms of input
  • Reorganized source and project files in an effort to move towards internationalization
    • Currently, English is still the only supported language, but the project is not organized in such a way that more languages can be easily added
  • The version/translation associated with each reference is now more clearly visible in the result list* Fixed a bug which allowed for a nonexistent zeroth chapter to be considered valid (e.g. "genesis 0")

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.5.0

  • Updated parser to recognize queries which lack spaces
    • e.g. 1co13e is now equivalent to 1 co 13 e, which corresponds to 1 Corinthians 13 (ESV)
    • Added several unit tests to verify the proper functioning of this feature
  • Updated parser to recognize a space as a valid separator between chapter and verse numbers
    • i.e. the query john 3 16 is now considered valid
  • Migrated test environment from unittest to nose
    • All unit tests have been rewritten to utilize the testing tools provided by nose
    • Tests must now be run using the nosetests command
    • See the README for details
    • The project now uses coverage.py to build test coverage reports
    • Added/modified unit tests to bring statement/branch coverage to 100%
  • Re-indented all JSON files using two spaces (as opposed to four)
  • Tweaked various other sections of the codebase

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.4.2

  • Reformatted all Python source files and unit tests to comply with the PEP 8 style guide
    • Added unit tests to verify PEP 8 compliance

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.4.1

  • Rewrote pattern used to match valid bible references to be more readable
  • Utilized the builtin dict.get() method to eliminate the many instances of None within the codebase

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.4.0

  • Added ability to search for a range of verses (for example, 1 cor 13.4-7)
    • Added unit tests to verify the proper functioning of this feature
  • Improved the leniency of the searching algorithm for queries representing incomplete Bible references
    • Queries such as mat 6. and 1 co 13.4- no longer yield the "No Results" message (because the unnecessary trailing token is now ignored)

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.3.3

  • Rewrote XML-building logic to use Python's built-in XML module rather than strings
  • Updated screenshot with high-resolution version
  • Tweaked various other sections of the codebase

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.3.2

  • Added two additional unit tests for verifying that data is correctly passed between scripts
  • Rewrote the unit tests for the script filter's main() function
    • Factored the logic for capturing stdout into a reusable context manager
  • Refactored the way Bible day was being retrieved
    • These changes may yield a slight improvement in memory usage
  • Tweaked various other areas of the codebase

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.3.1

  • Replaced internal classes with dictionaries for the sake of simplicity and efficiency
    • Updated unit tests to reflect this

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.3.0

  • Refactored much of the codebase to be more organized and efficient
  • Added a test suite with a number of unit tests for the workflow
    • See the README for details on how to run them
  • Updated Bible reference URL to reflect YouVersion's current URL structure

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.2.4

  • Moved the bible reference data into separate files

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.2.3

  • Updated icon with high-resolution version for Retina Displays

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.2.2

  • Updated search URL to reflect YouVersion's recent change to the search URL structure

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.2.1

  • Changed default version (translation) to the New International Version (NIV)

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v.1.2.0

  • Removed experimental option to copy verses

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.1.3

  • Tweaked the search algorithm to correctly handles nonexistent verses

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.1.2

  • Fixed a mistake introduced in the previous commit in which all searches would return the same results

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.1.1

  • Fixed a bug which prevented copying when the verse contained any non-ASCII characters

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.1.0

  • Added option to copy verse to clipboard

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.0.3

  • Tweaked the algorithm to better detect a version (translation) for the given query

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.0.2

  • Fixed a bug in which all searches would return the same results

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.0.1

  • Fixed a bug which threw an error when a partial book name was given

- Python
Published by caleb531 over 11 years ago

https://github.com/caleb531/youversion-suggest-alfred - v1.0.0

  • Initial release of YouVersion Suggest

- Python
Published by caleb531 over 11 years ago