GithubHelp home page GithubHelp logo

impress-org / give-receipt-attachments Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 5.0 171 KB

An Add-on for the Give Donation plugin for WordPress.

License: GNU General Public License v3.0

PHP 86.25% CSS 9.01% JavaScript 4.74%

give-receipt-attachments's People

Contributors

kjohnson avatar mathetos avatar ravinderk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

give-receipt-attachments's Issues

The plugin should not show in the list of licenses

version 1.1.1 currently messes up the license handler for the free GiveWP plugin, indicating a need for a license. This needs to be resolved by changing the plugin author, or the Plugin URI, or the Plugin Author URL (or some combination of all three).

This is being handled in GiveWP core as well, but still may need addressing here.

enhancement: re-format main file

The code structure of the plugin needs to be updated to the standards of our newer free add-ons. Better organization, more consistent use of GiveWP classes and structure.

Here's a quick list:

  • Update the main file to the same structure as our free addons class
  • Ensure we're using modern language support
  • Ensure we're implementing a delayed admin notice correctly
  • Ensure we're checking for minimum GiveWP version correctly
  • Ensure we're extending the form meta settings correctly

Donation Receipt Attachments {attachmenturl} displays the tag in an email receipt, and not a link to the attachment

Details

The email tag {attachmenturl} does not display a link to the attachment. It just shows the raw tag.

Steps to replicate:

have the aforementioned plugins installed
upload and save a file in a single form in Donation Form Options >> Receipt Attachments
make a test donation
check the email receipt and see that the raw tag is displayed.

Acceptance Criteria

  • {attachmenturl} email tag decode to expected value.
  • {attachmenturl} email tag appear in email tag list below email message wp editor in email settings.

enhancement: Clean-up assets

There's a lot of font-icon styles and other miscellaneous admin styles that can probably be cleaned up quite a lot. There's also screenshots and whatnot within the plugin and there's no need for them in there.

Here's a quick list:

  • Clean up admin CSS
  • Remove plugin screenshots
  • Verify the need for the admin.js file or remove it or make it work right
  • Related to #4 ensure we actually need the attachment.svg file.

feat: add simple link tracking

When we generate the download link, we should add link attributes to them that are unique to the donor/donor_id and if that URL is hit we can add a note to the donation record that the file was accessed.

  • Add a url param to the donation receipt table download link
  • Add a Donation Note if the donor downloads from the donation receipt download link
  • Add a Donation Note if the donor download from the email receipt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.