Git Product home page Git Product logo

skaut-google-drive-documents's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar kalich5 avatar marekdedic avatar mirtoto avatar vitekr avatar xkosorin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

skaut-google-drive-documents's Issues

Error in block.php

When I add a block to a page, I get this error where the block should have been:

Notice: Undefined index: fileId in /home/vu009876/www/wp-content/plugins/skaut-google-drive-documents/public/block.php on line 104

Warning: Illegal string offset 'id' in /home/vu009876/www/wp-content/plugins/skaut-google-drive-documents/public/block.php on line 105

Zobrazování souborů v koši

Ahoj. Plugin zobrazuje i soubory, které ve složce již nejsou (jsou v koši), ale původně byly. Reprodukce: na týmovém disku vytvořte Gdoc ve složce, kterou úspěšně zobrazíte na web, pak soubor vymažte. Stále tam bude. Když ho rozkliknete, napíše se, že je v koši. Když ho úplně vymažete z koše, vymaže se i ze stránky.

Týmové disky

Podpora pro načítání složek s dokumenty z týmových disků.

Fatal Error on page update

I created a page, added the block. Then went to edit the block options (enabling folder view). Saving the page failed. I did a cacheless reload and got this:

Notice: Array to string conversion in /home/vu009876/www/wp-content/plugins/skaut-google-drive-documents/public/block.php on line 161

Fatal error: Uncaught Sgdd\Vendor\Google_Service_Exception: { "error": { "errors": [ { "domain": "global", "reason": "notFound", "message": "File not found: .", "locationType": "parameter", "location": "fileId" } ], "code": 404, "message": "File not found: ." } } in /home/vu009876/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/google/apiclient/src/Google/Http/REST.php:119 Stack trace: #0 /home/vu009876/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/google/apiclient/src/Google/Http/REST.php(95): Sgdd\Vendor\Google_Http_REST::decodeHttpResponse(Object(Sgdd\Vendor\GuzzleHttp\Psr7\Response), Object(Sgdd\Vendor\GuzzleHttp\Psr7\Request), '\\Sgdd\\Vendor\\Go...') #1 [internal function]: Sgdd\Vendor\Google_Http_REST::doExecute(Object(Sgdd\Vendor\GuzzleHttp\Client), Object(Sgdd\Vendor\GuzzleHttp\Psr7\Request), '\\Sgdd\\Vendor\\Go...') #2 /home/vu009876/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/google/apiclient/src/Google/Task/R in /home/vu009876/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/google/apiclient/src/Google/Http/REST.php on line 119

Zobrazení na webu

Ten posuvník musí zmizet, ty soubory se musí ukazovat v dlaždici nebo v seznamu "všechny"

A mít možnost nastavit, kolik se jich má zobrazit a pak tlačítko třeba: "Zobrazit další" jako je tomu u galerie.

Výstřižek

Zadání pluginu

Plugin by měl být schopný zobrazovat na různých stránkách, příspěvcích obsah z Google Drivu. Něco ve smyslu pluginu https://codecanyon.net/item/useyourdrive-google-drive-plugin-for-wordpress/6219776 Ten je samozřejmě daleko komplexnější a umí toho o dost víc. Naše řešení by mělo být jednoduché na nastavení a i na používání.

Přes shordcode by se na stránkách zadalo, co se má zobrazit. Určitě by bylo dobré, aby se při vložení online dokumentů dalo tyto soubory upravovat. Jako by byly otevřené v novém oknu.

Dotazy k zadání na můj email [email protected]
Děkuji
Michal Janata

Podporované formáty souborů

Můžeme dát dohromady seznam toho, co všechno ten plugin dokáže zobrazit. Aby se to dalo dát do nějakého popisu.
Děkuji

Práva pre upravu

V zadní je zmienené aby bolo možné upravovať dokument, je to myslené aby ho vedel upraviť človek ktorý ho pridá na stránku (eidtor) alebo ktokoľvek komu sa zobrazí na stránke (anyone)?

Záložky v nastavení

Stejně jako u Galery pluginu.

  1. základní nastavení
  2. rozšířené nastavení

Má to vliv na odkazy, proto pro budoucí rozvoj je to nutné. I když stránka rozšířené nastavení bude zatím prázdná.

Your Site is Experiencing a Technical Issue

Howdy!

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, Google Drive Documents.

First, visit your website (https://demo-skaut-google-drive-documents.skauting.cz/) and check for any visible issues. Next, visit the page where the error was caught (https://demo-skaut-google-drive-documents.skauting.cz/wp-admin/post.php?post=40&action=edit) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further.

https://demo-skaut-google-drive-documents.skauting.cz/wp-login.php?action=enter_recovery_mode&rm_token=kaTQK9qrMhnS3RsNeGxknB&rm_key=QxNN2kSsRmAzdo1fBWQPxK

To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

Error Details

An error of type E_ERROR was caused in line 194 of the file /home/vu010093/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php. Error message: Uncaught Error: Class 'Sgdd\Vendor\Monolog\Formatter\LineFormatter' not found in /home/vu010093/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php:194
Stack trace:
#0 /home/vu010093/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/monolog/monolog/src/Monolog/Handler/AbstractHandler.php(113): Sgdd\Vendor\Monolog\Handler\AbstractHandler->getDefaultFormatter()
#1 /home/vu010093/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Sgdd\Vendor\Monolog\Handler\AbstractHandler->getFormatter()
#2 /home/vu010093/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/monolog/monolog/src/Monolog/Logger.php(344): Sgdd\Vendor\Monolog\Handler\AbstractProcessingHandler->handle(Array)
#3 /home/vu010093/www/wp-content/plugins/skaut-google-drive-documents/includes/vendor/monolog/monolog/src/Monolog/Logger.php(707): Sgdd\Vendor\Monolog\Logg

Future of the plugin

Hi,
we've done a survey of the usage of the plugin in our organization and found nobody uses it. Therefore, we decided to no longer maintain this plugin. I see 2 ways forward:

  • Somebody takes over the plugin. At the moment, I see @mirtoto as the only one I would feel comfortable transfering the plugin to with all existing users.
  • The plugin gets removed from wordpress.org, the repo archived. Anybody would still be able to use it on their own or fork it in the future.

I think at the moment the plugin needs some serious work to be useful, off the top of my head:

  • Make it so that the plugin doesn't need to change permissions - this should be doable and IMHO, the plugin should be read-only with regards to Google Drive.
  • Fix displaying documents
  • Give the UI an update
  • Bring the code quality up to some reasonable standard
  • Bring the plugin more in line with skaut-google-drive-gallery - it has moved forward a lot since this plugin started its development and a lot of the code should be just Copy&Paste-able to this plugin.

Ping @kalich5 @vitekr @xkosorin

sjednotit licence

V rootu repozitáře je MIT, ve adresáři pluginu je GPLv3. Prosím sjednotit a dát na MIT.

[WordPress Plugin Directory] Notice: Trademark violations

It was brought to our attention that you're violating someone else's trademark and your plugin(s) may be removed at any time unless this is resolved.

Your plugins are named things like "Google Drive Documents"

YOU MUST CHANGE YOUR DISPLAY NAME THIS WEEK.

Trademarks apply to the following aspects of your plugin:
The Slug - Your plugin slug may not begin with someone else's
The URL - You may not use someone's trademark in your domain name
The Display Name - You may not begin the display name with someone else's trademarked (or commonly recognized) term and must use 'For PRODUCT' when including their name
All Images - You may not use trademarked logos/images in your banner, screenshots, logos, etc, altered or not
We do our best to take care of the first one - the slug - when you submit your plugin. Plugins approved pre 2015 with trademarks in the URL are 'grandfathered' in and permitted to remain. All plugins approved since then have been required to meet this restriction. In general, you do not need to worry about your plugin slug unless we tell you specifically otherwise.

All plugins, no matter when they were approved, must comply with trademark usage in display names and images. This includes similar names. There's a concept known as "brand confusion," which means that naming your company or plugin similar to another company (like Facerange) you can still be legally compelled to change the name. This is why, for example, you cannot use 'pagespeed' in your URL for a site optimization tool, even though Google's only trademark is on 'page speed' (two words). The name is similar enough that we have been required to close plugins.

In that vein, you cannot use a display name that uses their trademarked name unless it is preceded by the qualifier 'for' -- An example would be that you cannot use "Master Facebook Widgets" but you could use "Master Widgets for Facebook." While that can be very confusing, it is also very easy to resolve.

If at any time in the future we are pressed by a company to close your plugin due to a violation of their trademark, we will be legally compelled to do so without notice to you. We also may not be able to reopen the plugin, should it be a repeat infringement or if we are compelled by law.

Save yourself a lawyer. You won't win this kind of fight, even when you're right, because the companies who send those notices out have more money than you do. Pay close attention to any brand guidelines offered by the owners, as sometimes they are further reaching than you'd think. Just for example. Instagram managed to trademark the color gradient used by their logo.

Note: These warnings are typically sent en masse when a company complains to us regarding infringement. We believe in sending out notices to inform you ahead of time, as much as possible. Just because someone else hasn't been caught and reprimanded does not mean you can ignore this message. They're risking everything, and it's just not worth it.

Google Drive icon not available in the block editor

I've setup the API client correctly, and the files and folders appear in the settings of the plugin. But I can't add the block in the post editor. It's not listed among the available blocks. I'm testing on Wordpress 5.5.1.

Sort Order

Hi

Perhaps i'm just missing something, but is it possible to control the sort order of the files displayed?

Thanks

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.