Coder Social home page Coder Social logo

nextcloud / unsplash Goto Github PK

View Code? Open in Web Editor NEW
90.0 12.0 21.0 1.34 MB

๐Ÿ“ธ๐Ÿ”€โ˜๏ธ Random Nextcloud log in background from Unsplash

Home Page: https://apps.nextcloud.com/apps/unsplash

License: GNU Affero General Public License v3.0

PHP 43.41% CSS 1.95% Makefile 0.97% JavaScript 53.67%
nextcloud unsplash opensourcedesign open-source-design colorful-interface splash

unsplash's Introduction

unsplash's People

Contributors

ijeantet avatar jancborchardt avatar lukasreschke avatar madh93 avatar marius-wieschollek avatar newhinton avatar nextcloud-bot avatar nickvergessen avatar p-bo avatar rakekniven avatar robinmetral avatar roliverio avatar skjnldsv avatar valdnet 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  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  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  avatar  avatar  avatar  avatar

unsplash's Issues

No logon background?

Please check attached, thanks.
Using last version of Nextcloud 14 and unsplash.

2018-10-04_4-43-36

We couldn't find that photo

Unsplash app now only shows "We could not find that photo" image.

deepinscreenshot_select-area_20190125120810

NextCloud 15.0.2
Unsplash 1.1.3

Is anyone else having this problem? It started yesterday.

Possibility to modify the query API string

May be u should give the possibility to modify the query API string, so that one can
fix the background for the daily pisture or query only pics from a special collection etc.
Thx in advance ... MiXiM

Add possibility to customize unsplash url

I like this simple but nice feature.
Perhaps a nice addition would be to customize the url.
Or maybe even better to use the api from unsplash for collections or searches

Hard to read text in header

With some images the labels of apps in header are hard to read as the text is transparent a little. It might help to put some kind of darkish transparent-ish background to them if the header images are enabled.

Screenshot 2020-06-08 at 7 40 58 PM
vs.
Screenshot 2020-06-08 at 7 48 07 PM

I just added background: rgba(50, 50, 50, 0.7); to the ul#appmenu, which holds the buttons and it doesn't look too bad I think.

Pinning Nextcloud as PWA with Firefox opens Unsplash images in fullscreen

When pinning the Nextcould website as progressive web app onto your homescreen in android using firefox, the unsplash image opens as fullscreen image.

Does not happen with Chrome at all or regular Webpages in Firefox.

Android 8.1.0
Firefox 64.0.1
Nextcloud 14.0.4
Unsplash 1.1.3

Repro Steps:

Open Firefox and navigate to your Nextcloud page.
Press the "house with plus" button next to the URL and add the website as "app" to your homescreen.
Go to your homescreen and open the new "app".

You should now see an Unsplash image everytime your URL/image changes.

Example Video:
(first webpage, then PWA)
https://www.youtube.com/watch?v=YQcC8nNGBAY

Request: More categories of images with Unsplash

Hey all,

The bug #40 showed me more images instead of the normal nature photos. My request is to create a configuration option to define more categories for Unsplash.

I like the replacement of:
"...
There is a line:
background-image : url('https://source.unsplash.com/random/featured/?nature') !important;
you can change the source of the url there:
background-image : url('https://source.unsplash.com/1920x1080/ ') !important;
.."

My personal voting for more configuration options is: yes, do it!

Dashbord Background Image

I don't know if it is possible, but it would be nice, if unsplash could also change the background image of the newly added dashboard.

URL to photo

I would love to know the url of the photo; display it in small print on the bottom, for example. It should probably be an option, as I'm sure there are many who wouldn't want that to show up on the fantastic login screen.

No Image when themening app is active

Hi,
i have the issue that unsplash is only showing images when the themening APP is disabled.
When the themening is enabled, you can see the image for about a nanosecond appearing in the background if you refresh the loginpage repeating verry verry fast sor several times (like a nervour monkey)..... ;-)

An other NC 13 Server on the same OS base with a similar config hasn't this issue. But, the other server has been updated from NC12 ot NC13. Still workling great....

This is about the server:
Nexcloud Version: 13.0.1 stable
PHP Version: 7.0.28
Webserver: Apache 2.4.18
OS: Ubuntu 16.04 lts

Hope this is enough?
THX, tau'ri

Changing color of nextcloud theme

I would like the app to change the main color of the installation according to the image.
For getting the color may it would work if the image is resized to 1px/1px.

Set header picture as "off" globally? (also for "shared files screen"?)

System details:

  • NC 19.3.0
  • Debian 10.
    After installing Unsplash, I have realized that the header setting is automatically enabled globally for all users. I have proceeded to disable it on the few accounts on my instance, only to discover that it will persist for non-registered users โ†’ any time I share I file or a poll externally, the header will present background Unsplash pictures.
    Is there a way to change this?
    Thank you in advance!

Unsplash stopped. Suddenly

Same issue. Just stopped receiving pictures.

NC20.0.4

Worked perfectly until about three days ago.

Dj

background image should be cached until a login process has been finshed

After activating that app I realized that a grey screen is shown for a short moment before the downloaded picture is displayed. I think it might be better to show the previous picture before replacing it by a new one, to prevent grey screens.
Additionally the picture changes really on every page refresh/reload. This is a little bit confusing/disturbing e.g. when you have the Two Factor U2F app activated and a different background picture is display right after you've entered your credentials and waiting for the confirmation of the U2F token. It would be nice if a background picture is cached at least as long as it takes to finish o single login process.

Bug: Cannot disable on header or login page

nextcloud-unsplash

I am having this weird issue that I cannot disable unsplash in the config menu. It just sets error, but there is nothing in the Nextcloud log. Any ideas? - Thanks a lot.

Unsplash V 1.1.3

NC 20 - no search icon shadow

the search icon of the new unified search in nc 20 got no shadow in (un)splash

if there is a mostly white image, the search icon disappears

thanks for the great work so far :)

Allow setting resolution

The app is really nice and pictures are good but for higher resolution screens a setting to allow increasing the resolution would be neat.

On HiDPI (4k+) screens the images look really blurred and unsharp. Of course this is also dependant on the source quality of the pic but in 2018 the images should be at least 1080p or above.

Request: Pull image(s) in advance with cronjob to have it ready uppon loading the page

I experience a little delay when I load my cloud page until the image is shown. It would be great to pull the next image with the cronjob. Information if this image was then shown to the user could be kept in database. So that if a image was pre cached, it is no necessary to cache another one, until the previous was shown once.

Besides that ... I love your App (idea). It is simple and beautiful!

Suggestion: be able to set the Unsplash parameter for API from the web

Hi,

Your Unsplash pluggin is great, but from my point of you should be accesible for non technical users, letting them changing the API parameter from the web interface (f.eg:

Thanks in advance.

Add Option to disable "header" background

It would be nice to have the option to only use this for the login screen. (Was it like that, earlier?)

Apart from the fact that showing a tiny stripe of an (albeit potentially beautiful ;)) image is kind of pointless, it also makes navigating the symbols in the header more difficult. Especially, bt not only, of the image contains a lot of white.

Thanks a lot for your work on this neat add-on! =)

Edit: somewhat related comment in the other issue:

#19 (comment)

Disable Image in Header

As of updating to the newest stable Nextcloud Release (13.0.2), i encountered a problem with the menubar at the top of the cloud UI. It seems as if the Plugin also loads an image for this menubar, resulting in a background image rather than the standart background color chosen.

Screenshot:
unbenannt

For every new Page or reload, the image also get's refreshed with a new image.

Really appreciate the plug-in!

Edit - I now saw it is officially proposed like that (my bad). Would wish for the possibility to disable the image in the header.

PHPย syntax error

Hi,
Since I updated unsplash, I get my nextcloud screwed up by a PHP syntax error.
I assume that this is because I didn't match the minimal PHP dependencies. (NextCloud 13 still support php5.6, Unsplash1.1.3 still support NextCloud version 13, but needs min v7.0 of PHP).

Error

PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in /var/www/nextcloud/apps/unsplash/lib/Services/SettingsService.php on line 58

Versions
NextCloud

root@server:~#  grep version /var/www/nextcloud/config/config.php
  'version' => '13.0.8.2',

Unsplash

root@server:~# grep version /var/www/nextcloud/apps/unsplash/appinfo/info.xml
<?xml version="1.0"?>
    <version>1.1.3</version>
        <php min-version="7.0" />
        <nextcloud min-version="13" max-version="16"/>

PHP

root@sevrer:~# php -v
PHP 5.6.30-0+deb8u1 (cli) (built: Feb  8 2017 08:50:21)

Request: Support other creative commons photo sites

Why? Because there are great alternatives to Unsplash that are also freely available under a creative commons zero license. It adds other options + connects users with a lot of great Creative Commons content.

Pixabay - Creative Commons Zero with absolutely no credit needed to use the images.
Pexels is another Creative Commons Zero page with tons of great photos
Wikimedia Commons has a great picture of the day as CC0
Librestock
Negativespace with great CC0 photos

The Future of the Unsplash-App

This issue is here to allow us to discuss the future of this app. Since there are things that changed regarding licensing of images from the unsplash-service, there may be features which may not be possible.

Everyone is invited to join this discussion and help us improve this app!

Currently, one idea is to move away from unsplash as an image-provider, to wikimedia-commons as an example. Suggestions are welcome!

How can I change the picture source

I am in China. Our government have blocked unsplash.com .

I have some other random picture API that I can access, like https://api.ixiaowai.cn/gqapi/gqapi.php https://img.xjh.me/random_img.php

What should I do to change the picture source.

Ability to disable background image in header for all users or by default

Following #14 I'm very happy to be able to use Unsplash again: thank you :)

But the setting is not that obvious to find for the average user. Some of them don't even know what it is about. Would it be possible to disable background image in the header by default? And/Or to add a setting in the admin section of Settings, so that we could apply this setting for all users?

Password protected or expired nextcloud links do not have your random images

i noticed that if i access a password protected nextcloud link the acecsso page shows the nextcloud base background and does not use your random backgrounds, is the fact wanted or to be implemented splash in the url with password?

as in the attached photo I have a fixed background not your random ones
Immagine

Transform unsplash app to advanced/extended theming app

While working on my #17 pull request, i had the idea to add filter and other options to this app.

Possible features:

Random Images from local folder, #6
Other pages, #5
Filter to change appearance of the background image(Grayscale, Tint, Transparency, Overlapping Images, Gradients, etc.)

If we could apply all of those ideas to the default theming background-image, this app could easily be upgraded from "unsplash" to "advanced/extended Theming" (while keeping the original unsplash-functionality)

Is this something we should consider for this app?

Anyone else notice images have stopped?

I updated NC today to 16.0.7 and noticed the unsplash images are no longer displaying.
It seems it's been quiet here for a while, do we need to provide a key per instance or something?

Thanks for a great plugin!
Happy New Years,
OC

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.