feat: Add comprehensive documentation suite and reorganize project structure

- Created complete documentation in docs/ directory
- Added PROJECT_OVERVIEW.md with feature highlights and getting started guide
- Added ARCHITECTURE.md with system design and technical details
- Added SECURITY.md with comprehensive security implementation guide
- Added DEVELOPMENT.md with development workflows and best practices
- Added DEPLOYMENT.md with production deployment instructions
- Added API.md with complete REST API documentation
- Added CONTRIBUTING.md with contribution guidelines
- Added CHANGELOG.md with version history and migration notes
- Reorganized all documentation files into docs/ directory for better organization
- Updated README.md with proper documentation links and quick navigation
- Enhanced project structure with professional documentation standards
This commit is contained in:
SamiAhmed7777
2025-10-21 00:39:45 -07:00
commit 0b7e2d0a5b
6080 changed files with 1332936 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
{if $fb_auth eq "1" or $gp_auth eq "1"}
$("input[name=auth_username]").keydown(function(e) {ldelim} if (e.keyCode == 13) {ldelim} e.preventDefault(); e.stopPropagation(); $("#auth-register-submit").click(); {rdelim} {rdelim});
$("input[name=auth_username]").keyup(function(e) {ldelim}
var _val = $(this).val();
$.ajax({ldelim}
url: '{$main_url}/f_modules/m_frontend/m_auth/{href_entry key="signup"}?do=auth_register',
cache: false,
type: "POST",
dataType: "json",
data: {ldelim} auth_confirm: 0, auth_username: _val, auth_userid: "{$smarty.get.u|sanitize}" {rdelim}
{rdelim}).complete(function(response) {ldelim}
data = response.responseText;
var error = '<span class="err-red"><i class="icon-notification"></i> ' + data.replace('error:', '') + '</span>';
var notice = '<span class="conf-green"><i class="icon-check"></i> Available</span>';
if (data.substr(0, 6) == 'error:') {ldelim}
$(".auth-username-check-response").html(error);
{rdelim} else {ldelim}
$(".auth-username-check-response").html(notice);
{rdelim}
{rdelim});
{rdelim});
$("#auth-register-submit").click(function(e) {ldelim}
e.preventDefault();
var t = $(this);
$("input[name=auth_confirm]").val("1");
$.post("{$main_url}/f_modules/m_frontend/m_auth/{href_entry key="signup"}?do=auth_register", $("#auth-register-form").serialize(), function (data) {ldelim}
var error = '<span class="err-red"><i class="icon-notification"></i> ' + data.replace('error:', '') + '</span>';
var notice = '<span class="conf-green"><i class="icon-check"></i> Available</span>';
if (data.substr(0, 6) == 'error:') {ldelim}
$(".auth-username-check-response").html(error);
{rdelim} else {ldelim}
$("#auth-register-form input").prop("disabled", true);
$("#auth-register-form .auth-username-check-btn").prop("disabled", true);
$(".auth-username-check-response").html(notice);
$.fancybox.close();
location.reload();
{rdelim}
{rdelim});
{rdelim});
{/if}