webcompat.com icon indicating copy to clipboard operation
webcompat.com copied to clipboard

Source code for webcompat.com

Results 127 webcompat.com issues
Sort by recently updated
recently updated
newest added

`Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”).` I guess we have a global.js in our webpack bundle: ```js var g; // This...

type: bug
type: security
lang: JS
lang: Python
scope: build and tooling

so get_domain helps extracting a domain name from a title. https://github.com/webcompat/webcompat.com/blob/8656f17526d3b64c367ea4f2bbb742a2b388c937/webcompat/templates/__init__.py#L79-L90 The function returns the first group of continuous text before a space, but the case `return ''` is not...

This method is a bit long and messy now (especially once https://github.com/webcompat/webcompat.com/pull/1198 lands). It's ready for a refactor. See the suggestions at https://github.com/webcompat/webcompat.com/pull/1198#discussion_r83341295.

lang: Python

There are many places where we are testing if the user is logged in or not. We should probably have a decorator for this. For example * https://flask.palletsprojects.com/en/1.1.x/patterns/viewdecorators/ * https://dev.to/sonnk/python-decorator-and-flask-4c16...

lang: Python
type: enhancement

- Go to /issues .. - Click some label to filter the search - Click back Bug: the list stays filtered on that label.

type: bug
lang: JS

This issue is a space for discussing a possible evolution of the project for both its resilience and its performance. @miketaylr shared with me this blog post, discussing the use...

Some of the tests we have will reuse common tools. If I understood well, pytest gives the possibility to put them together under the same umbrella. https://docs.pytest.org/en/latest/writing_plugins.html#conftest-py-plugins

lang: Python

...or beware the wrath of TDDkarl 😍 ⚔️

lang: Python

https://github.com/webcompat/webcompat.com/blob/136607eeb2ff0c65ee681ad942875937a920cb9b/webcompat/api/endpoints.py#L30 The API is only partially tested currently. (69% as of today) and would benefit of a better coverage.

status: needs tests
type: testing
lang: Python

str ``` git clone [email protected]:webcompat/webcompat.com.git cd webcompat.com touch .env ``` goto `Developer settings`: - goto `Personnal access toek` - create `New personal access token` did that: - goto `OAuth Apps`...

type: bug