Major benefit, beside a smaller file size, is the possibility to remove debug informations from the minified javascript.
make-js script:
- take care of any warnings and errors
- raise warning level to verbose
js/*
- switch to Array-Access Property Notation for external data (prevents renaming by the closure compiler)
Add feeds only once to the feed_ids array (feed model), drop now unused select-db action.
Use $_SESSION['loggedin'] in favour of $_SESSION['user'] to reflect which information we do
expect from this session variable. Add nothing else than a flag, which indicates a logged in
user, to $_SESSION['loggedin'].
It's not necessary to know the current user name, since we do only have one user
per database. Same for the language setting. The database defines the front-end language.
Resolves bug where the password gets stored in the $_SESSION['user'] after a remember_me
login.
- more flexibility and explicitly with the expected dataset
- use radio button to select unittest.db
- add tests:
- previous/next article with arrow key left/right
- no alerts are displayed by default
- alert is displayed on first feed page if feed has parsing error
- keyboard shortcuts are disabled with modifier keys shift, alt and control (except IE)
- display logic on subscription page
Check if a requested database can be selected. Error out if not.
This prevents automatic fallbacks to the default database.
Remove the authorized information from the session if a new database
gets selected.
Factor out logout function to reuse existing code.
Show feeds with errors always at the top and highlight them
Changes the feed order to:
1. failed
2. enabled
3. disabled
Order alphabetical within each group.
Show a warning message with a hin to the console if feeds have issues
Fixes#300, #303
Don't hide the active element, it annoying to use the navigation if the
menu items changing there position with every click. Indicate the active
menu item instead, similar to the header navigation.
May I've worked to long with windows systems, but help and about have to
be the last menu items :-). I've reorderd the menu items to what I think
user need more often.
A sub-navigation should not change its parent heading. Changed that as
well.
- enable debug logging for image proxy
- show enclosure image only if no article content exists
- do not store empty favicons
- fix typo in get_item_favicons (worked anyway since get_favicons
returned all known favicons instead)
This script replaces make-archive.sh and make-tag.sh.
Switch to 'git archive' to create a ZIP file from the repo. Its way
more faster, automates a lot things and works with the GitHub download
HEAD/Release/Tag as ZIP functionality as well.
git archive reads the file .gitattributes to determine which files has
to be excluded from the zip file.
It replaces the following placeholders in common.php:
$Format:%d$": with the output of git log --pretty=format:%d which
contains the tag of the last commit (if tagged).
$Format:%H$": with the hash of the latest included commit.
If no tag can be found the hash is appended to "master" and shown as
version number.
The approach is kind of hackish since no distinct format option for the
tag exists.
Fixes#231, https://github.com/fguillot/miniflux/issues/213#issuecomment-65631765