Giter Site home page Giter Site logo

imath / entrepot Goto Github PK

View Code? Open in Web Editor NEW
31.0 8.0 6.0 2.37 MB

A list of free GitHub.com hosted WordPress plugins, themes & blocks

Home Page: https://imathi.eu/entrepot/

License: GNU General Public License v2.0

JavaScript 20.10% CSS 3.02% PHP 76.88%
wordpress-plugin plugins upgrade install themes blocks entrepot-registered

entrepot's Introduction

Entrepôt

Unit Tests

Français 🇫🇷

Inscrivez vos extensions, thèmes et blocs WordPress gratuits dans l'Entrepôt.

Cette extension WordPress vous propose de recenser vos propres extensions, thèmes et blocs gratuits hébergés sur GitHub.com directement depuis :

  • l'onglet Entrepôt de l'écran d'administration de l'ajout d'extensions,
  • l'onglet Entrepôt de l'écran d'administration de l'ajout de thèmes ou depuis la section Thèmes de l'Entrepôt de l'interface de changement de thèmes du Customizer de WordPress,
  • le menu Types de bloc de l'administration de WordPress.

Grâce à l'Entrepôt vos dépôts publics hébergés sur GitHub.com bénéficieront, par ailleurs, d'une installation et de mises à jour directement déclenchables depuis l'administration des sites WordPress de vos utilisateurs.

En téléchargeant et en installant cette extension, vos utilisateurs disposent donc d'une source alternative d'extensions, de thèmes et de blocs gratuits.

Les auteurs d'extensions, de thèmes ou de blocs, peuvent, à l'aide d'une "Pull Request" particulière référencer les dépôts publics hébergés sur GitHub.com correspondants. Pour en savoir plus, reportez-vous à la documentation.

Cette extension nécessite WordPress 5.0 et a été testée jusqu'à sa version 5.6.

English 🇬🇧

Register your free WordPress plugins, themes and blocks into the Entrepôt

This plugin lets you list your own free & public GitHub.com hosted plugins themes, and blocks inside:

  • the Entrepôt tab of the Add Plugins Administration screen,
  • the Entrepôt tab of the Add Themes Administration screen, or from the Entrepôt Themes section of the area of the Customizer to change the active theme,
  • the Block Types menu of the WordPress Dashboard.

Thanks to the Entrepôt your free, public & GitHub hosted repositories will benefit from a one-click installation and updates directly from the WordPress site's Administration of your users.

Users can download this plugin to enjoy an alternative source of free WordPress plugins, themes and blocks.

Authors can, using a particular "Pull Request" register their free GitHub.com hosted plugins, themes or blocks. For more information, see the documentation.

This plugin requires WordPress 5.0 and been tested up to 5.6.

Code of Conduct

Please take a minute to read the project's code of conduct.

entrepot's People

Contributors

anybodesign avatar dependabot[bot] avatar imath avatar lriaudel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

entrepot's Issues

Blocks are not found into the WordPress Blocks Repository

As querying for blocks of the WordPress Blocks Repository is happening using a REST request, the context is not set to admin. The problem is the Entrepôt inc/admin.php file is not loaded but the inc/hooks.php is. As a result the plugins_api filter is fired but the callback is not reachable it's causing the search to fail as The Plugins API returns Null although the filter is expending false to query WordPress.org. Checking for is_admin() is fixing the issue.

More globally Admin hooks should be in a different file and this file should only be loaded if the admin context is on.

Fatal Error in local Site

Hello Mathieu,

J'essaye d'installer Entreprôt en local et j'ai des fatal du type:

[14-Jan-2019 14:47:13 UTC] PHP Fatal error: Uncaught Error: Call to undefined function entrepot_blocks_dir() in /Users/aglekis3/Sites/gregoirenoyelle/wp-content/plugins/entrepot/inc/admin.php:36

ou encore:

[14-Jan-2019 14:50:27 UTC] PHP Recoverable fatal error: Object of class acf_admin could not be converted to string in /Users/aglekis3/Sites/gregoirenoyelle/wp-content/plugins/entrepot/inc/admin.php on line 1182

Pour information, j'ai installé depuis un zip qui vient de ton site. Je suis sur WordPress 5.0.3
Merci.

Plugin Upgrade routine

Sometimes plugins need to perform some specific tasks like upgrading DB Tables etc. This could be useful to build a common API for this.

Plugin dependency

If a plugin relies on another plugin, eg:

  • BuddyPress plugin,
  • woocommerce addon,
  • etc..

It should only be displayed within the Entrepôt list if the plugin it's dependent of is active.

Changelog

Hi,
When we see the plugin list, we can see the plugin to update. But before it is important to see the changelog.
But when we want to read-it , we can click on "View details" and we see this page for exemple :

wp-admin/plugin-install.php?tab=plugin-information&plugin=wp-statuses&TB_iframe=true&width=600&height=550

We don't can read the changelog on it directly contrary to wp.org.

Manual upgrades for plugins

WordPress doesn't include a process to manually upgrade a plugin. You need to deactivate, remove, add, reactivate the plugin. Let's just upload the upgraded plugin!

Error in hook on debug bar

Hi @imath ,
I see it in my debug bar:

WARNING: wp-includes/class-wp-hook.php:286 - call_user_func_array() expects parameter 1 to be a valid callback, function '000000006df8f046000000000cc9f253render_notices' not found or invalid function name
include('wp-admin/edit-form-advanced.php'), require_once('wp-admin/admin-header.php'), do_action('in_admin_header'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, entrepot_catch_all_notices, do_action('entrepot_notices'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array

I see this: do_action('entrepot_notices') and I think it is a problem of your plugin.

Internal git

Bonjour.
Est il possible défaire la même chose avec un git d’entreprise ?

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.