quran-madina-html 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,61 @@
1
+ # Code of Conduct - quran-madina-html
2
+
3
+ ## Our Standards
4
+
5
+ Examples of behavior that contributes to a positive environment for our
6
+ community include:
7
+
8
+ * Demonstrating empathy and kindness toward other people
9
+ * Being respectful of differing opinions, viewpoints, and experiences
10
+ * Giving and gracefully accepting constructive feedback
11
+ * Accepting responsibility and apologizing to those affected by our mistakes,
12
+ and learning from the experience
13
+ * Focusing on what is best not just for us as individuals, but for the
14
+ overall community
15
+
16
+ Examples of unacceptable behavior include:
17
+
18
+ * The use of sexualized language or imagery, and sexual attention or
19
+ advances
20
+ * Trolling, insulting or derogatory comments, and personal or political attacks
21
+ * Public or private harassment
22
+ * Publishing others' private information, such as a physical or email
23
+ address, without their explicit permission
24
+ * Other conduct which could reasonably be considered inappropriate in a
25
+ professional setting
26
+
27
+ ## Our Responsibilities
28
+
29
+ Project maintainers are responsible for clarifying and enforcing our standards of
30
+ acceptable behavior and will take appropriate and fair corrective action in
31
+ response to any instances of unacceptable behavior.
32
+
33
+ Project maintainers have the right and responsibility to remove, edit, or reject
34
+ comments, commits, code, wiki edits, issues, and other contributions that are
35
+ not aligned to this Code of Conduct, or to ban
36
+ temporarily or permanently any contributor for other behaviors that they deem
37
+ inappropriate, threatening, offensive, or harmful.
38
+
39
+ ## Scope
40
+
41
+ This Code of Conduct applies within all community spaces, and also applies when
42
+ an individual is officially representing the community in public spaces.
43
+ Examples of representing our community include using an official e-mail address,
44
+ posting via an official social media account, or acting as an appointed
45
+ representative at an online or offline event.
46
+
47
+ ## Enforcement
48
+
49
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
50
+ reported to the community leaders responsible for enforcement at <tarekeldeeb@msn.com>.
51
+ All complaints will be reviewed and investigated promptly and fairly.
52
+
53
+ All community leaders are obligated to respect the privacy and security of the
54
+ reporter of any incident.
55
+
56
+ ## Attribution
57
+
58
+ This Code of Conduct is adapted from the [Contributor Covenant](https://contributor-covenant.org/), version
59
+ [1.4](https://www.contributor-covenant.org/version/1/4/code-of-conduct/code_of_conduct.md) and
60
+ [2.0](https://www.contributor-covenant.org/version/2/0/code_of_conduct/code_of_conduct.md),
61
+ and was generated by [contributing-gen](https://github.com/bttger/contributing-gen).
@@ -0,0 +1,101 @@
1
+ <!-- omit in toc -->
2
+ # Contributing to quran-madina-html
3
+
4
+ First off, thanks for taking the time to contribute! ❤️
5
+
6
+ All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉
7
+
8
+ > And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:
9
+ > - Star the project
10
+ > - Tweet about it
11
+ > - Refer this project in your project's readme
12
+ > - Mention the project at local meetups and tell your friends/colleagues
13
+
14
+ ## Code of Conduct
15
+
16
+ This project and everyone participating in it is governed by the
17
+ [quran-madina-html Code of Conduct](https://github.com/tarekeldeeb/quran-madina-htmlblob/master/CODE_OF_CONDUCT.md).
18
+ By participating, you are expected to uphold this code. Please report unacceptable behavior
19
+ to <tarekeldeeb@msn.com>.
20
+
21
+
22
+ ## I Have a Question
23
+
24
+ Before you ask a question, it is best to search for existing [Issues](https://github.com/tarekeldeeb/quran-madina-html/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
25
+
26
+ If you then still feel the need to ask a question and need clarification, we recommend the following:
27
+
28
+ - Open an [Issue](https://github.com/tarekeldeeb/quran-madina-html/issues/new).
29
+ - Provide as much context as you can about what you're running into.
30
+ - Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
31
+
32
+ We will then take care of the issue as soon as possible.
33
+
34
+ ## I Want To Contribute
35
+
36
+ > ### Legal Notice <!-- omit in toc -->
37
+ > When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license.
38
+
39
+ ### Reporting Bugs
40
+
41
+ <!-- omit in toc -->
42
+ #### Before Submitting a Bug Report
43
+
44
+ A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible.
45
+
46
+ - Make sure that you are using the latest version.
47
+ - Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](). If you are looking for support, you might want to check [this section](#i-have-a-question)).
48
+ - To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/tarekeldeeb/quran-madina-htmlissues?q=label%3Abug).
49
+ - Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
50
+ - Collect information about the bug:
51
+ - Stack trace (Traceback)
52
+ - OS, Platform and Version (Windows, Linux, macOS, x86, ARM)
53
+ - Version of the interpreter, compiler, SDK, runtime environment, package manager, depending on what seems relevant.
54
+ - Possibly your input and the output
55
+ - Can you reliably reproduce the issue? And can you also reproduce it with older versions?
56
+
57
+ <!-- omit in toc -->
58
+ #### How Do I Submit a Good Bug Report?
59
+
60
+ > You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to <>.
61
+ <!-- You may add a PGP key to allow the messages to be sent encrypted as well. -->
62
+
63
+ We use GitHub issues to track bugs and errors. If you run into an issue with the project:
64
+
65
+ - Open an [Issue](https://github.com/tarekeldeeb/quran-madina-html/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
66
+ - Explain the behavior you would expect and the actual behavior.
67
+ - Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
68
+ - Provide the information you collected in the previous section.
69
+
70
+ Once it's filed:
71
+
72
+ - The project team will label the issue accordingly.
73
+ - A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced.
74
+ - If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be [implemented by someone](#your-first-code-contribution).
75
+
76
+ <!-- You might want to create an issue template for bugs and errors that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->
77
+
78
+
79
+ ### Suggesting Enhancements
80
+
81
+ This section guides you through submitting an enhancement suggestion for quran-madina-html, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.
82
+
83
+ <!-- omit in toc -->
84
+ #### Before Submitting an Enhancement
85
+
86
+ - Make sure that you are using the latest version.
87
+ - Read the [documentation]() carefully and find out if the functionality is already covered, maybe by an individual configuration.
88
+ - Perform a [search](https://github.com/tarekeldeeb/quran-madina-html/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
89
+ - Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
90
+
91
+ <!-- omit in toc -->
92
+ #### How Do I Submit a Good Enhancement Suggestion?
93
+
94
+ Enhancement suggestions are tracked as [GitHub issues](https://github.com/tarekeldeeb/quran-madina-html/issues).
95
+
96
+ - Use a **clear and descriptive title** for the issue to identify the suggestion.
97
+ - Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
98
+ - **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you.
99
+ - You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. <!-- this should only be included if the project has a GUI -->
100
+ - **Explain why this enhancement would be useful** to most quran-madina-html users. You may also want to point out the other projects that solved it better and which could serve as inspiration.
101
+ -
package/Gruntfile.js CHANGED
@@ -8,7 +8,7 @@ module.exports = function(grunt) {
8
8
  },
9
9
  dist: {
10
10
  src: ['src/<%= pkg.name %>.js',
11
- 'bower_components/x-tag-core/dist/x-tag-core.min.js'],
11
+ 'node_modules/x-tag/dist/x-tag-core.min.js'],
12
12
  dest: 'dist/<%= pkg.name %>.js'
13
13
  }
14
14
  },
package/LICENSE.md ADDED
@@ -0,0 +1 @@
1
+ Code and assets are licensed under ["Waqf" General Public License 2.0](https://github.com/ojuba-org/waqf/tree/master/2.0), 3 Muharram 1435
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Quran Madina Html (no-images)
2
+ [![CodeQL](https://github.com/tarekeldeeb/quran-madina-html/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/tarekeldeeb/quran-madina-html/actions/workflows/github-code-scanning/codeql)
2
3
  [![pylint](https://github.com/tarekeldeeb/quran-madina-html/actions/workflows/pylint.yml/badge.svg)](https://github.com/tarekeldeeb/quran-madina-html/actions/workflows/pylint.yml)
3
4
  [![db_test](https://github.com/tarekeldeeb/quran-madina-html/actions/workflows/db_test.yml/badge.svg)](https://github.com/tarekeldeeb/quran-madina-html/actions/workflows/db_test.yml)
4
5
  [![npm-grunt](https://github.com/tarekeldeeb/quran-madina-html/actions/workflows/npm-grunt.yml/badge.svg)](https://github.com/tarekeldeeb/quran-madina-html/actions/workflows/npm-grunt.yml)
@@ -38,7 +39,6 @@ Alternatively, you can fork this repo, then clone it.
38
39
  ```
39
40
  $ apt install python3-distutils nodejs npm chromium-driver
40
41
  $ npm install // install components and scripts
41
- $ bower install // install bower libs
42
42
  $ npm run build-db // build all json Db files
43
43
  $ npm run release // build the dist with dependencies
44
44
 
package/SECURITY.md ADDED
@@ -0,0 +1,21 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Use this section to tell people about which versions of your project are
6
+ currently being supported with security updates.
7
+
8
+ | Version | Supported |
9
+ | ------- | ------------------ |
10
+ | 5.1.x | :white_check_mark: |
11
+ | 5.0.x | :x: |
12
+ | 4.0.x | :white_check_mark: |
13
+ | < 4.0 | :x: |
14
+
15
+ ## Reporting a Vulnerability
16
+
17
+ Use this section to tell people how to report a vulnerability.
18
+
19
+ Tell them where to go, how often they can expect to get an update on a
20
+ reported vulnerability, what to expect if the vulnerability is accepted or
21
+ declined, etc.