List of commits:
Subject Hash Author Date (UTC)
Configuration file for sanitize-html 39da470b01235d566629c4d470cc53520f322044 Eyad-Syrialover 2019-07-07 22:02:17
Added proper format for the news view 7a843b64572d5f755e355d753d553ca888c4e1ac Eyad-Syrialover 2019-07-07 22:01:36
Added sanitize-html and its dependencies e997166eb4fe77128add450d1da96fdbc47fa578 Eyad-Syrialover 2019-07-07 21:44:42
Fixed an issue with the regular expression 32a7baa10523df0be0393738f66876266cefc1c1 Eyad-Syrialover 2019-07-05 18:00:23
A helper that replace \r\n with <br> dba7509cd32513e49ac6c90fd3a5819dce5cf218 Eyad-Syrialover 2019-07-05 17:29:40
A helper to view contents of links to images and youtube videos 38da7b6bea4f60562526c9d30ca63363e1e0adbf Eyad-Syrialover 2019-07-05 17:29:22
Updated some packages to the latest version f507f7ccde8934123d0ed354a6d93c88e4417d07 Eyad-Syrialover 2019-07-03 15:54:42
Added scripts.test to run application in test mode f92c956735a46c547a64e91d59cd7df27201e790 Eyad-Syrialover 2019-07-02 23:04:35
Adjusted entry point from ./bin/www to app.js 11be01b40d8113e63b4fb16b0320531fe8ad0f72 Eyad-Syrialover 2019-07-02 22:57:19
Merged www file into app.js ce17c1cf6ed21f5f1ea2357045fcf4f4240ea3d6 Eyad-Syrialover 2019-07-02 22:56:48
Fixed db object require path 09bf0558a2cb193919267da3523ea94445997a04 Eyad-Syrialover 2019-07-02 22:38:21
Has been moved to "general" folder 47515fbb4da109247ad4695cf58143568c74e0af Eyad-Syrialover 2019-07-02 22:36:50
GetNewsByID will now return only one news 79493634fe944994e43cfce1db0ea258693ad159 Eyad-Syrialover 2019-07-02 22:28:12
The router will now send the status code 404 if the supplied news id doesn't exist 27c689c920082b6c97ce098d1774d460e87d220e Eyad-Syrialover 2019-07-02 22:24:09
Created simple news view to display content fa1989d165eba0c2aab34880bbab34e260539999 Eyad-Syrialover 2019-07-02 22:19:12
Fixed some logical errors 1ce43a42499dac183b5c9d61fcafeda49957a788 Eyad-Syrialover 2019-07-02 22:18:41
Changed the callback function syntax into a lambda expression ee9932c054f23ecbff46a4922b5785ee377a5674 Eyad-Syrialover 2019-07-02 22:17:58
Switched all callback functions into a combination of promises and lambda expressions 3bd4a3be48d091e57cdd208dd6a7b42fd7e92fcc Eyad-Syrialover 2019-07-02 22:17:08
Added news router 13729daf161f670069082a3b04e255a572d79ec1 Eyad-Syrialover 2019-07-02 22:06:15
A file that contains a reference to MySQL connection 7ab07ca7c8b71bc7983390c50dfdb4d9be430784 Eyad-Syrialover 2019-06-30 00:11:40
Commit 39da470b01235d566629c4d470cc53520f322044 - Configuration file for sanitize-html
Author: Eyad-Syrialover
Author date (UTC): 2019-07-07 22:02
Committer name: Eyad-Syrialover
Committer date (UTC): 2019-07-07 22:02
Parent(s): 7a843b64572d5f755e355d753d553ca888c4e1ac
Signing key:
Tree: 666f8830e4b5cc39d48ded2242244fbad74a5dff
File Lines added Lines deleted
general/sanitize-html-config.js 11 0
File general/sanitize-html-config.js added (mode: 100644) (index 0000000..6d8d8a8)
1 const SanitizeHTMLConfig = {
2 allowedTags : ["b", "i", "a", "img", "iframe", "p", "h1", "h2", "h3", "h4", "h5", "h6", "br"],
3 allowedAttributes : {
4 "a" : ["href", "target"],
5 "img" : ["src", "width", "height"],
6 "iframe" : ["src", "width", "height"]
7 },
8 allowedIframeHostnames : ["www.youtube.com"]
9 };
10
11 module.exports = SanitizeHTMLConfig;
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/EyadMohammedOsama/News-Website

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/EyadMohammedOsama/News-Website

Clone this repository using git:
git clone git://git.rocketgit.com/user/EyadMohammedOsama/News-Website

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main