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

Version 1.0 #168

Merged
merged 80 commits into from
May 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
6e0a065
Constructor fix for saved_links_widget
benlk May 28, 2018
3bab79b
Reduce redundancies between WordPress and Github readmes, start versi…
benlk Mar 6, 2019
ae2cd29
Merge branch 'develop' into 132-php7-compat
benlk Mar 6, 2019
e889540
Update changelog for #137
benlk Mar 6, 2019
5751668
Merge pull request #137 from INN/132-php7-compat
benlk Mar 6, 2019
278f360
Update Travis config to test against PHP 5.6, 7.1, 7.2, 7.3. Raise mi…
benlk Mar 6, 2019
4adb6f7
Undo updating WordPress mailchimp tools submodule
benlk Mar 6, 2019
7768aea
Further slimming of GitHUB Readme to development-specific info
benlk Mar 7, 2019
e828fff
Improved guess documentation within .travis.yml
benlk Mar 7, 2019
5263030
Merge branch 'develop' into 135-travis-updates
benlk Mar 7, 2019
9430b71
Remove PHP/WordPress combinations currently unsupported by WordPress,…
benlk Mar 7, 2019
5214bde
get PHPUnit version in log output
benlk Mar 7, 2019
0728915
Remove Hipchat notification script
benlk Mar 7, 2019
85c29a0
Comment out PHP 7.2 and 7.3 tests for WordPress 5.1, because those te…
benlk Mar 7, 2019
c74e7ce
Merge pull request #138 from INN/135-travis-updates
benlk Mar 7, 2019
c886e92
Update INN/wordpress-mailchimp-tools to https://github.com/INN/wordpr…
benlk Mar 7, 2019
f3ee4cf
Update drewm/mailchimp-api dependency to 2.5
benlk Mar 7, 2019
6a0407f
Update directions to the MailChimp API settings, and remove some refe…
benlk May 1, 2019
a6b8b97
Switch to composer install of WordPress MailChimp Tools from INN
benlk May 1, 2019
987965d
Add Text Domain to plugin readme.txt
benlk May 1, 2019
5d0f2a6
Add Text Domain to plugin php file
benlk May 1, 2019
2edff39
Finish providing error log for composer install docs
benlk May 1, 2019
39d71ec
Pick up https://github.com/INN/wordpress-mailchimp-tools/commit/080e3…
benlk May 2, 2019
69251c1
Fix for https://github.com/INN/link-roundups/pull/139#issuecomment-48…
benlk May 2, 2019
e96f412
fix a docs typo
benlk May 2, 2019
c701cc5
Capture error messages in the wordpress mailchimp tools
benlk May 2, 2019
cd870b8
Update install docs!
benlk May 2, 2019
f6b3295
Update inn/wordpress-mailchimp-tools to include filter for https://gi…
benlk May 2, 2019
0e8736b
Minor style cleanup in class-link-roundups.php
benlk May 2, 2019
bd306ec
updated saved links list table class for compatibility
benlk May 2, 2019
0c45e0d
wrap the 'Source:' text for the saved links widget's p.source in a sp…
benlk May 2, 2019
2a40560
Latest version of release.sh
benlk May 2, 2019
e17fab5
Add note about release process to new maintainers.md file, resolving …
benlk May 2, 2019
e172107
Bump 'Tested up to:' to 5.2.
benlk May 2, 2019
0561526
Make sure numeric inputs in widget forms have type=number
benlk May 3, 2019
9f8a03c
Clean up code formatting in Saved Links List Widget, resolve problem …
benlk May 3, 2019
874aeb4
A test filter for the WordPress MailChimp Tools
benlk May 3, 2019
1f12c22
update wordpress-mailchimp-tools and commit package-lock.json
benlk May 8, 2019
472b808
Create a filter on mailchimp_tools_campaign_content to provide our te…
benlk May 8, 2019
f6dd997
Correct number of parameters, and then make the mc:edit section names…
benlk May 8, 2019
986b575
Remove partially-created filter on 'mailchimp_tools_campaign_content'
benlk May 8, 2019
6766153
More WMT fixen
benlk May 8, 2019
1303f44
Update docs text: editable content areas, API keys, audiences
benlk May 8, 2019
4f86262
Update a bunch of wp.org metadata
benlk May 9, 2019
6739897
Replace MailChimp settings image.
benlk May 9, 2019
1285899
Update more mailchimp docs
benlk May 9, 2019
a634bdf
Fix for WMT audience box not showing targeted subgroup.
benlk May 10, 2019
1f95a0e
Fix for WMT audience not being able to unset targeted subgroups.
benlk May 10, 2019
5c00aa1
Merge branch 'master' into 136-update-wordpress-mailchimp-tools
benlk May 10, 2019
3b34dca
Changelog update for https://github.com/INN/link-roundups/pull/152
benlk May 10, 2019
692610b
Changelog, readme updates for the next version
benlk May 10, 2019
bbd696c
Merge pull request #139 from INN/136-update-wordpress-mailchimp-tools
benlk May 10, 2019
e522c1e
Fix for table causing an undefined error
benlk May 10, 2019
7feed38
Fix issue where saved link list table initially displays no links if …
benlk May 10, 2019
a498109
Merge pull request #153 from INN/132-table-thingy
benlk May 10, 2019
44fadc0
Fix issue where echo in while loop was incrementing a string-concaten…
benlk May 10, 2019
1ef3b69
Merge pull request #155 from INN/112-link-roundups-widget-count
benlk May 10, 2019
b0dc3c8
Bump version number to 1.0
benlk May 10, 2019
f5c3bdb
Switch to alternate implementations of the shortcut link if available…
benlk May 13, 2019
f77e15e
Provide alternate version of browser bookmark page with admonition to…
benlk May 14, 2019
d5a5d65
Simplify test for whether to enqueue the alternate version of the sav…
benlk May 14, 2019
3163e3a
Update changelog for https://github.com/INN/link-roundups/pull/159
benlk May 14, 2019
4813953
Documentation updates for installing dependencies.
benlk May 14, 2019
0664b7e
Support the wordpress network plugins install page.
benlk May 14, 2019
5d72f74
Merge pull request #159 from INN/130-press-to-save-renewed
benlk May 15, 2019
e73a628
Add some fields to package.json
benlk May 15, 2019
73e26ba
Add link to new rounduplink page from saved links list table. For htt…
benlk May 15, 2019
6d48a0e
Move some CSS around and decrease extra whitespace to match WordPress…
benlk May 15, 2019
bdfd4bd
Merge pull request #161 from INN/151-add-new-saved-link-button
benlk May 15, 2019
455344a
Use rel="noopener noreferrer" for saved link widget opening in target…
benlk May 15, 2019
d519929
Merge pull request #162 from INN/30-noopener
benlk May 15, 2019
480ccdc
Tag version 1.0-rc1
benlk May 16, 2019
e0a54e5
A random package-lock.json update
benlk May 16, 2019
74cdc18
Update wordpress-mailchimp-tools to fix https://github.com/INN/link-r…
benlk May 16, 2019
bbf920d
Merge pull request #165 from INN/163-static-deprecation
benlk May 16, 2019
6e312cf
Fix for mangled URL params in link to dependency plugin install page.
benlk May 16, 2019
2407d7c
check WordPress version to prevent deprecated function warning on WP …
benlk May 16, 2019
487c942
Merge pull request #167 from INN/166-get_shortcut_link
benlk May 16, 2019
db4b111
Various version number and docs bumps for 1.0
benlk May 20, 2019
53ccf31
Fix numbering in installation docs.
benlk May 20, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "vendor/mailchimp-api-php"]
path = vendor/mailchimp-api-php
url = https://bitbucket.org/mailchimp/mailchimp-api-php.git
[submodule "wordpress-mailchimp-tools"]
path = wordpress-mailchimp-tools
url = https://github.com/INN/wordpress-mailchimp-tools.git
46 changes: 35 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,45 @@
# Travis CI Configuration File

# Use Travis CI container-based infrastructure
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false

# Tell Travis CI we're using PHP
language: php

# PHP version used in first build configuration.
php:
- "5.3"

sudo: false
# https://secure.php.net/supported-versions.php
# php:
# # PHP pre-5.6 is EOL
# - "5.6"
# # PHP 7.0 is EOL
# - "7.1"
# - "7.2"
# - "7.3"

# WordPress version used in first build configuration.
env:
- WP_VERSION=4.2.1 WP_TESTS_DIR=/tmp/wordpress/tests/phpunit WP_CORE_DIR=/tmp/wordpress
# env:
# - WP_VERSION=4.2.1 WP_TESTS_DIR=/tmp/wordpress/tests/phpunit WP_CORE_DIR=/tmp/wordpress

# for a breakdown of why these versions were chosen, see https://github.com/INN/WP-DS-NPR-API/issues/12#issuecomment-374730094
matrix:
include:
# PHPUnit 5
- php: 5.6
env: WP_VERSION=4.9 WP_TESTS_DIR=/tmp/wordpress/tests/phpunit WP_CORE_DIR=/tmp/wordpress
# PHPUnit 6
- php: 7.1
env: WP_VERSION=4.9 WP_TESTS_DIR=/tmp/wordpress/tests/phpunit WP_CORE_DIR=/tmp/wordpress
- php: 7.1
env: WP_VERSION=5.0 WP_TESTS_DIR=/tmp/wordpress/tests/phpunit WP_CORE_DIR=/tmp/wordpress
- php: 7.1
env: WP_VERSION=5.1 WP_TESTS_DIR=/tmp/wordpress/tests/phpunit WP_CORE_DIR=/tmp/wordpress
# PHPUnit 8, based on https://github.com/INN/link-roundups/issues/135#issuecomment-470357566
#- php: 7.2
# env: WP_VERSION=5.1 WP_TESTS_DIR=/tmp/wordpress/tests/phpunit WP_CORE_DIR=/tmp/wordpress
# PHPUnit 8, based on https://github.com/INN/link-roundups/issues/135#issuecomment-470357566
#- php: 7.3
# env: WP_VERSION=5.1 WP_TESTS_DIR=/tmp/wordpress/tests/phpunit WP_CORE_DIR=/tmp/wordpress

# Only test the develop and master branches for now
branches:
Expand All @@ -34,10 +62,6 @@ before_script:
- sed -i "s/yourpasswordhere//" wp-tests-config.php
- mv wp-tests-config.php "$WP_TESTS_DIR/wp-tests-config.php"
- cd "$WP_CORE_DIR/src/wp-content/plugins/$SLUG"
- phpunit --version

script: phpunit

notifications:
hipchat:
rooms:
secure: mrJDwl2LYmWGY6gKUEsSnbGp3mQ8UhVQkb9oBmRSDx9T/hCSDx4Q2KDLo0OqCFIwDB5BevP16vDDWVmsg8Ldwk+Hh0YAmdUqBAXe21+17ojqSIAdQg6LgLrEFEBNVBlPu89xonRMnsai34RDCoRt5c9OLuWgGVMAcTojpQvPiII=
102 changes: 28 additions & 74 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,85 +1,20 @@
# Link Roundups

A WordPress plugin to make it easy to collect links from around the web, turn them into roundup posts and streamline the production of daily/weekly roundup newsletters using MailChimp. Built and maintained by [INN Nerds](http://nerds.inn.org).

**Contributors:** The INN Nerds (David Ryan, Ryan Nagle, Ben Keith, Will Haynes, Adam Schweigert) and Project Argo (Corey Daley, Chris Amico, Wesley Lindamood)

**Tags:** link, newsletter, widget, mailchimp

**Requires at least:** 4.1

**Tested up to:** 4.2.3

**Stable tag:** 0.4.1

**License:** GPLv2 or later

**License URI:** http://www.gnu.org/licenses/gpl-2.0.html
A WordPress plugin to make it easy to collect links from around the web, turn them into roundup posts and streamline the production of daily/weekly roundup newsletters using MailChimp. Built and maintained by [INN Labs](https://labs.inn.org).

**Requires at least:** 4.1
**Tested up to:** 5.2
**Stable tag:** See https://github.com/INN/link-roundups/releases
**License:** GPLv2 or later
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html

## Overview

The Link Roundup plugin allows you to:

- Curate links
- Create link roundup posts
- Optionally send the roundup posts to MailChimp to be distributed to your subscribers

It also includes two widgets:

- A widget to display your recently saved links
- A widget to display your recent link roundup posts (with the ability to limit by category)

The plugin includes a browser bookmark that you can drag to your browser's bookmark bar, allowing you to save links directly to your WordPress site. This bookmark attempts to pre-fill fields like link title, source, URL and featured image and also allows you to add a description to each link viewable when published on your site.

In its previous life, Link Roundups was called Argo Links.

See the [overview on WordPress.org](https://wordpress.org/plugins/link-roundups/).

## Installation

Link Roundups can be installed like any other WordPress plugin.

1. Download the contents of this repository.
2. Unzip the package and rename the folder to "link-roundups" (the folder will be called "link-roundups-master" but this may cause problems if you don't rename it before uploading to your site)
3. Upload the folder to your WordPress installation in the wp-content/plugins directory
4. Login to WordPress, click on Plugins in the left hand menu
5. Select the Link Roundups plugin and click "activate"
6. Review the plugin settings under the Settings > Link Roundups menu

Installation directly from the WordPress.org plugin directory coming soon!

## Features

#### Saved Links
![New Saved Link](https://raw.githubusercontent.com/INN/link-roundups/master/docs/img/new-saved-link.png)

Curate links from around the web and save them in WordPress using a handy browser bookmark. You can also add your own descriptions and organize saved links using tags.

#### Saved Links Widget

Display a feed of your recent Saved Links, optionally filtered by tags.

#### Link Roundups
![Recent Saved Links Panel in Link Roundups Editor](https://raw.githubusercontent.com/INN/link-roundups/master/docs/img/link-roundups-passthru.png)

Build Link Roundup posts using a panel that displays and filters your recent Saved Links. Select the links you want to include and send them to the editor to compose your roundup posts.

#### Link Roundups Widget

Display most recent Link Roundup posts by date. Optionally, limit the roundup posts displayed by category.

#### MailChimp API Integration

Simplify your workflow by sending Link Roundup posts directly to MailChimp. Create a template for your roundups using a number of special template tags and then create a new MailChimp campaign directly from WordPress. You can even include sponsored links.

#### Rename Link Roundups

If you would prefer to call your roundup posts something else (daily digest, for example) you can rename the singular (default: Link Roundup) and plural form (default: Link Roundups) as well as the slug for posts in the Link Roundups custom post type.

#### Custom HTML for Displaying Links

Link Roundup posts have some default styling for your saved links to make sure your posts look great out of the box. If you'd prefer to modify the HTML output for Save Links or styling for sponsored links, you can do that from the plugin settings.

See the [installation instructions on WordPress.org](https://wordpress.org/plugins/link-roundups/#installation).

## [Documentation](docs/readme.md)

Expand All @@ -89,9 +24,28 @@ Link Roundup posts have some default styling for your saved links to make sure y
4. [Using Saved Link and Link Roundup widgets](docs/widgets.md)
5. [__More →__](docs/readme.md)


## Development

For information on the development status of this plugin, check the [development milestones on github](https://github.com/INN/link-roundups/milestones).

If you'd like to contribute to the project, please see our [contributing guidelines](contributing.md).

This plugin depends on [INN/wordpress-mailchimp-tools](https://github.com/INN/wordpress-mailchimp-tools), as well as some components imported via composer.

## Contributors:

**The Institute for Nonprofit News:**

- David Ryan
- Ryan Nagle
- Ben Keith
- Will Haynes
- Adam Schweigert
- RC Lations
- Josh Darby

**Project Argo:**

- Corey Daley
- Chris Amico
- Wesley Lindamood
32 changes: 27 additions & 5 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
=== Link Roundups ===
Contributors: inn_nerds
Contributors: innlabs
Donate link: https://inn.org/donate
Tags: newsletters, mailchimp, links, curation, aggregation
Requires at least: 4.1
Tested up to: 4.2.3
Stable tag: 0.5
Requires at least: 4.2
Tested up to: 5.2
Stable tag: 1.0
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP: 5.6
Text Domain: link-roundups


Collect links from around the web, turn them into roundup posts and streamline the production of daily/weekly roundup newsletters using MailChimp.

Expand All @@ -19,20 +22,39 @@ Collect links from around the web, turn them into roundup posts and streamline t
* **Custom HTML for links** Customize the presentation of Saved Links in Link Roundups
* **Link Roundups Widget** Display most recent Link Roundup posts by date
* **Saved Links Widget** Display a feed of your recent Saved Links, optionally filtered by tags
* **Browser Bookmark** Create new Saved Links via a browser bookmarklet
* **Browser Bookmark** Create new Saved Links via a browser bookmarklet, on supported WordPress configurations
* **MailChimp Integration** Create new MailChimp campaigns based on a Link Roundup

== Installation ==

Via WordPress.org:

1. Install the Link Roundups plugin via the Wordpress.org plugin directory
2. Activate the plugin
3. Navigate to the Admin -> Link Roundups -> Options page to configure the plugin
4. Done!

For other installation methods, [see this plugin's installation methods on GitHub](https://github.com/INN/link-roundups/blob/master/docs/installation.md).

[Read more about installing plugins here](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins).

== Changelog ==

= 1.0

- Tested up to WordPress 5.2 and PHP 7.3
- Reenables the "Save to Site" bookmarklet for saving links for Link Roundups, if the site admin is willing to use the [Press This](https://wordpress.org/plugins/press-this/) plugin to enable this feature. Pull request [#159](https://github.com/INN/link-roundups/pull/159) for issue [#130](https://github.com/INN/link-roundups/issues/130).
- Updates the [WordPress MailChimp Tools](https://github.com/INN/wordpress-mailchimp-tools) submodule to use version 3 of the MailChimp API, and gain various compatibility updates for modern PHP versions. Upgrading to the new MailChimp API means that users of the MailChimp campaign functionality in the Link Roundups plugin can now use MailChimp editable content areas in their templates, as described [in our documentation](https://github.com/INN/link-roundups/blob/master/docs/mailchimp.md).
- Updates installation documentation. Pull request [#139](https://github.com/INN/link-roundups/pull/139) for issue [#145](https://github.com/INN/link-roundups/issues/145).
- Applies the `'widget_title'` filter to the title of the Link Roundups widget. Pull request [#152](https://github.com/INN/link-roundups/pull/152) for issue [#104](https://github.com/INN/link-roundups/issues/104).
- Wraps the `Source:` label in the Saved Links List widget in a `span.source-label`. Pull request [#139](https://github.com/INN/link-roundups/pull/139) for issue [#144](https://github.com/INN/link-roundups/issues/144).
- Sets HTML5 input types on widget forms. Pull request [#139](https://github.com/INN/link-roundups/pull/139) for issue [#143](https://github.com/INN/link-roundups/issues/143).
- Fixes the saved_links_widget constructor for error-free PHP7 compatibility. Pull request [#137](https://github.com/INN/link-roundups/pull/137) for issue [#132](https://github.com/INN/link-roundups/issues/132).
- Updates the local clone of WP_List_Table, fixing compatibility, and updating docs for that process. Pull request [#139](https://github.com/INN/link-roundups/pull/139) for issues [#128](https://github.com/INN/link-roundups/issues/128) and [#118](https://github.com/INN/link-roundups/issues/118).
- Updates Travis automated testing to support PHP 5.6, 7.1, 7.2. Pull request [#138](https://github.com/INN/link-roundups/pull/138) for issue [#135](https://github.com/INN/link-roundups/issues/135).
- Improves maintainer docs. Pull request [#139](https://github.com/INN/link-roundups/pull/139) for issue [#140](https://github.com/INN/link-roundups/issues/140).


= 0.4.1 =

- The default query for Saved Links in the roundup editor is now for the last 30 days
Expand Down
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "A WordPress plugin that makes it easy to collect links, turn them into roundup posts and produce roundup newsletters using MailChimp.",
"main": "link-roundups.php",
"authors": [
"INN Nerds <nerds@inn.org>"
"INN Labs <support@inn.org>"
],
"license": "MIT",
"homepage": "https://github.com/INN/link-roundups",
Expand All @@ -14,6 +14,7 @@
"node_modules",
"bower_components",
"js/vendor",
"vendor",
"test",
"tests"
],
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"inn/wordpress-mailchimp-tools": "dev-master#4ef8919f2e214ad0493c12405e6c8a263ac7a1c6"
}
}
111 changes: 111 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading