List of commits:
Subject Hash Author Date (UTC)
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
Added SQL to create a database to store information 38ffdd899a0661a74ed3e561a120ad3b4a26f590 Eyad-Syrialover 2019-06-30 00:10:18
Added the layout view which gives all other views consistent look a7f328de8a743d4f797b783c0629d9b23943818a Eyad-Syrialover 2019-06-29 23:30:28
Commit 32a7baa10523df0be0393738f66876266cefc1c1 - Fixed an issue with the regular expression
Author: Eyad-Syrialover
Author date (UTC): 2019-07-05 18:00
Committer name: Eyad-Syrialover
Committer date (UTC): 2019-07-05 18:00
Parent(s): dba7509cd32513e49ac6c90fd3a5819dce5cf218
Signing key:
Tree: 742acdc5698431cedd28a88834ce5700b6695c0f
File Lines added Lines deleted
helpers/convert-newline-to-linebreak.js 1 1
File helpers/convert-newline-to-linebreak.js changed (mode: 100644) (index ee4a543..6c4679a)
1 1 function ConvertNewLineToLineBreak(text) { function ConvertNewLineToLineBreak(text) {
2 const NewLineRegex = /[\r\n]/i;
2 const NewLineRegex = /([\r\n])+/i;
3 3 while (NewLineRegex.test(text)) { while (NewLineRegex.test(text)) {
4 4 text = text.replace(NewLineRegex, "<br>"); text = text.replace(NewLineRegex, "<br>");
5 5 } }
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