List of commits:
Subject Hash Author Date (UTC)
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
A dedicated file that contains database credentials 4667094accb904263a548b4d8be5e63fa754565a Eyad-Syrialover 2019-06-30 00:10:56
Commit 7a843b64572d5f755e355d753d553ca888c4e1ac - Added proper format for the news view
Author: Eyad-Syrialover
Author date (UTC): 2019-07-07 22:01
Committer name: Eyad-Syrialover
Committer date (UTC): 2019-07-07 22:01
Parent(s): e997166eb4fe77128add450d1da96fdbc47fa578
Signing key:
Tree: 9e2cdcd58be3eb1eee7b92cbbddb67634c257896
File Lines added Lines deleted
views/news.html 6 1
File views/news.html changed (mode: 100644) (index b166323..d6647f8)
1 <%- content %>
1 <br>
2 <h1><%= Title %></h1>
3 <%= DateTime %> - This article was read <%= ReadingTimes %> time(s)<br><br>
4 <%- Content %>
5
6 <img src="data:text/html,<script>alert(new Date());</script>"/>
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