ideascube issueshttps://framagit.org/ideascube/ideascube/-/issues2017-09-22T09:29:12Zhttps://framagit.org/ideascube/ideascube/-/issues/848Let's lint our CSS in the CI2017-09-22T09:29:12ZMathieu BridonLet's lint our CSS in the CIThe following discussion from !870 should be addressed:
- [ ] @bochecha started a [discussion](https://framagit.org/ideascube/ideascube/merge_requests/870#note_138730):
> Oh wow, good eye.
>
> We probably need to add a CS...The following discussion from !870 should be addressed:
- [ ] @bochecha started a [discussion](https://framagit.org/ideascube/ideascube/merge_requests/870#note_138730):
> Oh wow, good eye.
>
> We probably need to add a CSS linter to our tests. Know any good one?https://framagit.org/ideascube/ideascube/-/issues/835Date format2017-11-23T08:45:57ZToMDate formatThe "When" column shows a "human readable" date, like "One week ago" ; there, we need the exact and full date, like "sunday 2ng August at 23h53"
(meh, can't find that anymore, will edit this bug tomorrow with the help of @Narjis89 :p)The "When" column shows a "human readable" date, like "One week ago" ; there, we need the exact and full date, like "sunday 2ng August at 23h53"
(meh, can't find that anymore, will edit this bug tomorrow with the help of @Narjis89 :p)https://framagit.org/ideascube/ideascube/-/issues/831The error message is not explicit when the second wifi interface doesn't exist.2017-09-21T08:56:35ZToMThe error message is not explicit when the second wifi interface doesn't exist.In the wifi administration page, some old server (running 0.29.2) with only one wifi interface was showing errors message such as « No Wi-Fi device was found » and « No Wi-Fi available ».
This is not very explicit, since the logged in a...In the wifi administration page, some old server (running 0.29.2) with only one wifi interface was showing errors message such as « No Wi-Fi device was found » and « No Wi-Fi available ».
This is not very explicit, since the logged in admin does know that there's a wifi interface (the hotspot he's actually connected to). The message could be more specific.https://framagit.org/ideascube/ideascube/-/issues/785Refuse symlinks in packages2019-04-12T16:34:58ZMathieu BridonRefuse symlinks in packagesA media package could contain a symlink, pointing to a system file. This is a security hazard.
We should not let it happen.
My personal opinion is that we should just refuse all symlinks in media packages (and maybe in all packages...A media package could contain a symlink, pointing to a system file. This is a security hazard.
We should not let it happen.
My personal opinion is that we should just refuse all symlinks in media packages (and maybe in all packages?). When installing a file from a package, if it is a symlink, we should just treat it as an error and move to the next file.
Another solution would be to verify that the symlink doesn't point outside of the media packages space. Ensuring that it doesn't start with `/` or `../` should be enough.
However, I can't see the value in having a media be a symlink to another media, so I'm inclined to just say no to symlinks entirely, and eventually revisit if we ever find a use-case.https://framagit.org/ideascube/ideascube/-/issues/749The server name is misplaced when the interface language is RTL2017-09-21T10:59:55ZToMThe server name is misplaced when the interface language is RTL![drcamman](https://s3.amazonaws.com/uploads.hipchat.com/87510/4479972/8LGcTZ8MXTtkixJ/Nuzha%20.png)
idb_jor_drcamman, ideascube 0.21.2![drcamman](https://s3.amazonaws.com/uploads.hipchat.com/87510/4479972/8LGcTZ8MXTtkixJ/Nuzha%20.png)
idb_jor_drcamman, ideascube 0.21.2https://framagit.org/ideascube/ideascube/-/issues/723Try and be more helpful when the cache is empty2017-09-21T11:02:09ZMathieu BridonTry and be more helpful when the cache is emptyWhen installing/updating a package, if the cache is completely empty, it would be nice if we could help the user out a bit:
* if no remote are configured, then tell them that
* if we have remotes but the cache is empty (right after `...When installing/updating a package, if the cache is completely empty, it would be nice if we could help the user out a bit:
* if no remote are configured, then tell them that
* if we have remotes but the cache is empty (right after `catalog cache clear`) then we could tell them to `catalog cache update`
Current;y, we just say the package doesn't exist and error out, which is very confusing.https://framagit.org/ideascube/ideascube/-/issues/591Catch non 200 when adding remotes2017-09-21T11:45:43ZYohanCatch non 200 when adding remotes```
(ideascube) leonardo:~/C/p/ideascube (nginx-vhost $=) dj ideascube catalog remotes add static 'Sites' http://catalog.ideascube.org/static-sites.yml
IDEASCUBE_ID=dev
Importing settings from ideascube.conf.dev
Download: 100.00% |⬛⬛⬛⬛⬛...```
(ideascube) leonardo:~/C/p/ideascube (nginx-vhost $=) dj ideascube catalog remotes add static 'Sites' http://catalog.ideascube.org/static-sites.yml
IDEASCUBE_ID=dev
Importing settings from ideascube.conf.dev
Download: 100.00% |⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛| 16.0 KiB/2.6 KiB (0.0 KiB/s) | ETA: 08:52:36
Traceback (most recent call last):
File "/home/ybon/.virtualenvs/ideascube/lib/python3.5/site-packages/resumable/__init__.py", line 111, in urlretrieve
resp.raise_for_status()
File "/home/ybon/.virtualenvs/ideascube/lib/python3.5/site-packages/requests/models.py", line 840, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: http://catalog.ideascube.org/static-sites.yml
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_from_command_line(sys.argv)
File "/home/ybon/.virtualenvs/ideascube/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
utility.execute()
File "/home/ybon/.virtualenvs/ideascube/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/ybon/.virtualenvs/ideascube/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/ybon/.virtualenvs/ideascube/lib/python3.5/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/home/ybon/Code/py/ideascube/ideascube/serveradmin/management/commands/catalog.py", line 116, in handle
options['func'](options)
File "/home/ybon/Code/py/ideascube/ideascube/serveradmin/management/commands/catalog.py", line 229, in add_remote
self.catalog.update_cache()
File "/home/ybon/Code/py/ideascube/ideascube/serveradmin/catalog.py", line 798, in update_cache
urlretrieve(remote.url, tmppath, reporthook=_progress)
File "/home/ybon/.virtualenvs/ideascube/lib/python3.5/site-packages/resumable/__init__.py", line 113, in urlretrieve
raise DownloadError(e)
resumable.DownloadError: 403 Client Error: Forbidden for url: http://catalog.ideascube.org/static-sites.yml
```
https://framagit.org/ideascube/ideascube/-/issues/536home_page: add a checkbox to click 'em all2017-09-21T11:55:38ZToMhome_page: add a checkbox to click 'em allAfter ZIMs have been installed, one has to go to `/server/home_page` and select all the cards. As a lazy operator, I wish I could click some 'All' button/checkbox/thing.
After ZIMs have been installed, one has to go to `/server/home_page` and select all the cards. As a lazy operator, I wish I could click some 'All' button/checkbox/thing.